webyonet / react-native-android-location-services-dialog-box

React Native Android Location Services Dialog Box
MIT License
182 stars 50 forks source link

EnableHighAccuracy mode for only GPS #66

Open johnny32 opened 5 years ago

johnny32 commented 5 years ago

According to the docs, enableHighAccuracy = true checks that both GPS and Network location are enabled, and false checks that at least one of them is enabled.

Is there any way to prompt the user if and only if the GPS location is not enabled? Our app needs to prompt specifically for GPS: both modes, GPS and Network, and only GPS, are ok for us, but not both disabled or only Network enabled.