Skip to content

Conversation

@rasuldev
Copy link

We don't need ACCESS_BACKGROUND_LOCATION permission for most cases (so user can use location tracking without enabling location permission all the time). Application can continue to get location in background mode when location service is started in app:
изображение

flutterlocation library works perfectly without ACCESS_BACKGROUND_LOCATION if we skip permission checks in enableBackgroundMode method. In this PR we added a boolean parameter checkBackgroundPermissions. If it is false then permission check is skipped.

@rasuldev
Copy link
Author

изображение

@memarv
Copy link

memarv commented Jul 12, 2024

@bartekpacia This is very important PR. This plugin with required ACCESS_BACKGROUND_LOCATION permissions is useless in most cases. If this solution is wrong, you need to find another way to solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants