Fix a missing background location permission due to which background check wasn't working on Android 11+. Use the opportunity to refactor how permissions are handled:
First ask the user for foreground location permission (fine or coarse)
After/if it's given - ask for background location permission
After/if it's given - ask for exemption from hibernation
Fix a missing background location permission due to which background check wasn't working on Android 11+. Use the opportunity to refactor how permissions are handled: