NativeScript / nativescript-geolocation

Geolocation plugin to use for getting current location, monitor movement, etc
Apache License 2.0
139 stars 76 forks source link

Nativesctipt geolocation cant resolve platform #283

Open bogdandubyk opened 2 years ago

bogdandubyk commented 2 years ago

Issue occurring on iOS (I did not try Android)

My issue is that I'm getting error like ERROR in ./node_modules/nativescript-geolocation/geolocation.ios.js 8:15-34 Module not found: Error: Can't resolve 'platform' in '/Users/bogdandubyk/projects/locbook-app/node_modules/nativescript-geolocation' and I have a feeling that my native script is in a newer version that ad not supported by this package as I do not have ns-core-modules (instead I have nativescript/core) and do not have platform.

Sorry if the question is stupid, it's my first project on nativescript... also I found that in interned everywhere mentioned that platfrom but in my code I able to use the same functionality using nativescript/core but not in the library.