radarlabs / react-native-radar

React Native module for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
170 stars 32 forks source link

Issue 18 - [iOS] Return "GRANTED_ALWAYS" when status is Always Allow and [Android] "DENIED_FOREVER" when user selects 'never ask again' #39

Closed RodrigoCS closed 5 years ago

RodrigoCS commented 6 years ago

This was a simple change I'm proposing "GRANTED_ALWAYS" as a string constant when the status is kCLAuthorizationStatusAuthorizedAlways.

I'm guessing it was previously just "GRANTED" to keep consistency between both platforms but since Android doesn't really need it and it doesn't even use UNKNOWN, to begin with I don't think this should

RodrigoCS commented 6 years ago

Added a new permission when the user selects the never ask again checkbox

russellcullen commented 5 years ago

Sorry for the radio silence on this one. We've talked about this API internally and have some plans for future improvements here.

jwebcat commented 5 years ago

this is a feature I would like to see as well, also a callback from requestPermissions(background)

Any progress on this?