jamesmontemagno / GeolocatorPlugin

Geolocation plugin for Xamarin and Windows
MIT License
294 stars 158 forks source link

Does not function with airplane mode on #325

Open spaddlewit opened 4 years ago

spaddlewit commented 4 years ago

Bug Information

This library does not return position while airplane mode is turned on. As soon as airplane mode is turned off, results begin flowing in.

Version Number of Plugin: 4.5.0.6 Device Tested On: Apple iPad A1475 Simulator Tested On: N/A Version of VS: 16.6.2 Version of Xamarin: 4.6.0.847 Versions of other things you are using:

Steps to reproduce the Behavior

call StartListeningAsync()

Expected Behavior

Location is tracked and callback event is fired

Actual Behavior

Nothing

Code snippet

Screenshots

TheWatchfulOne commented 11 months ago

Airplane Mode works by deactivating the device's radios. If that includes the GPS radio then you should not expect location updates while in Airplane Mode.

spaddlewit commented 11 months ago

Airplane Mode works by deactivating the device's radios. If that includes the GPS radio then you should not expect location updates while in Airplane Mode.

Google Maps app still returns position information when Airplane mode is on. Are they using some kind of other undocumented API? I doubt it.