My app uses navigator.geolocation provided by PhoneGap. When running the app on iPhone is asks for location permissions twice, i guess one for the app and one for safari, how do i solve this?
My app uses navigator.geolocation provided by PhoneGap. When running the app on iPhone is
Share
I was having the same problem, but this fixed it:
Location permission alert on iPhone with PhoneGap
you have to rely on OnDeviceReady(), and it’ll only call once.