I have an application consists of map, I need to show pins when location is on and when location is turned off I need to hide the pins. I need to implement this in both Android and iOS.
We won't be notified when the user enables/disables the location service of the application.
We could only check it programmatically on each platform.
You can use CLLocationManager.Status
Or use a plugin like:https://github.com/jamesmontemagno/PermissionsPlugin
@LandLu So you are saying with IOS there is no way to notify the user when location services have been disabled?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies