Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if user has enabled BACKGROUND_LOCATION when the app launches #34

Open
nateridderman opened this issue Oct 26, 2021 · 0 comments
Open
Labels
good first issue Good for newcomers hacktoberfest-accepted help wanted Extra attention is needed

Comments

@nateridderman
Copy link
Collaborator

nateridderman commented Oct 26, 2021

Starting with Android 11, apps cannot request location in the background unless the user has explicitly enabled this in the OS settings for the app. A permissions dialog in-app is not good enough. This includes WorkManager jobs if the user is not in the app at the time. Therefore we should check if the user has enabled this and if not, alert them somehow when they launch the app.

https://developer.android.com/about/versions/oreo/background-location-limits#tuning-behavior
https://developer.android.com/training/location/background

@nateridderman nateridderman added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants