Geolocation Watch Position throwing error

If it’s not working in browser, try opening the inspector console. It will think you are in development mode and allow it.

For me it worked in Browser, but not working in iOS. I’ve figured out how to make it work for iOS:

Go to your apps Info.plist file in Xcode. Add these two keys:
NSLocationWhenInUseUsageDescription
NSLocationAlwaysUsageDescription

The Values for these two keys are simply any string descriptions you want to show the user when allow geolocation popup will come on the device. Rebuild and deploy.

1 Like

Sir are u fix above issue actually i got issue after set timeout in option as well as fire both geolocation function but not fire for me 1st time after login but logout then ligin again it works.help me sir.plz