@VolvoOlympian wrote:
I am following the guide here at http://ngcordova.com/docs/plugins/geolocation/ to get lat and lng of the user.
I copied the sample code there and when I callgetCurrentPosition()
I get this error in console:unknown provider: $cordovaGeolocation Provider
Am I missing something?
P.S. and this is the list of plugins I have installed:
com.google.playservices 23.0.0 "Google Play Services for Android"
com.googlemaps.ios 1.9.2 "Google Map iOS SDK for Cordova"
com.ionic.keyboard 1.0.4 "Keyboard"
cordova-plugin-console 1.0.1 "Console"
cordova-plugin-crosswalk-webview 1.4.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-splashscreen 3.0.0 "Splashscreen"
cordova-plugin-whitelist 1.2.0 "Whitelist"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
Posts: 6
Participants: 2