Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Introduce GPS status (enabled/disabled) and GPS capability API to GeoLocation class

Open JohannesGESchmidt opened this issue 7 years ago • 1 comments

Description: At the moment to be clean in using the Geolocation API you have to check if GPS is enabled or even available on the device using native Android code. This prevents me from switching from my own platform specific Implementations for a GeoLocationProvider to Xamarin Essentials.

API Declaration:

Task<bool> GeoLocation.CheckGpsAvailability()
Task<bool> GeoLocation.CheckGpsEnabled()

JohannesGESchmidt avatar Jan 08 '19 22:01 JohannesGESchmidt

This will be bundled into this: https://github.com/xamarin/Essentials/issues/77

jamesmontemagno avatar Jan 08 '19 22:01 jamesmontemagno