“I’m developing a React Native application that requires Motion & Fitness permissions for optimal functionality.
-
Issue: When a user initially denies the permission request and later grants it through the device settings, the app unexpectedly restarts.
-
Current Implementation:
I’m using react-native-permissions to handle permission checks and requests.
If the user taps “Don’t Allow,” I guide them to the device settings screen to enable the necessary permissions. -
Expected Behavior:
After granting permissions in settings, the app should resume its current state without restarting.
Has anyone encountered a similar issue or can offer guidance on how to prevent the app from restarting after granting permissions via the device settings on iOS?