Recently i have upgraded expo to version 41, I have read about significat changes in location module, and I made changes in my app. On android it seems ok, but I have problem when Deny background location from system settings page. If I choose Ask Every Time, or Deny, application just restarts.
Asks the user to grant permissions for location while the app is in the background. On Android 11 or higher: this method will open the system settings page - before that happens you should explain to the user why your application needs background location permission. For example, you can use Modal component from react-native to do that.
this is the part of documentation which explains background location on android 11. If anyone knows why this happens, it would be great. Thank you.