michalchudziak / react-native-geolocation

Geolocation APIs for React Native
MIT License
1.28k stars 220 forks source link

How to watch whether location permissions are obtained? #257

Closed devethan closed 1 year ago

devethan commented 1 year ago
  1. The app requests location permission
  2. But user declines the permission
  3. After then, the permission is set in device settings
  4. Check if permission is granted when returning to the foreground of app <- I am looking for a way to do this.
michalchudziak commented 1 year ago

I think the best way would be to use some permission management library :)

devethan commented 1 year ago

@michalchudziak Yes I think that would be great, thanks for the answer!