-
Notifications
You must be signed in to change notification settings - Fork 239
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
Added option for android background location sync #208
Conversation
…ional parameters on notifications
…n service method channel
…itional location flags and notification flags
…context only as well
# Conflicts: # android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt
# Conflicts: # lib/background_location.dart
@BWMuller thanks for keeping this up to date and sorry for not checking in on this! Was there a particular method you used to test this? I'd love to have some independently verifiable way to know that it works since I cant really directly test it. |
@MoralCode Unfortunately I haven't been able to get around granting permissions as of yet for creating a standalone test that can just be run on ios/android so that you have an independent method of verification |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR was closed because it has been stalled for 10 days with no activity. |
This should resolve the following issues: #206, #204, #202, #131, #8
This add background location when the app is closed, screen locked or similar as well as start on boot (this requires headless update handler). It also adds more option to the notification such as action and custom channel_id.
Note that one of the changes this does bring in is that when for android someone chooses background location the /method callback for location doesn't trigger anymore due to the headless callback existing. This means that all location updates for android come via the headless handler and for ios come via the getLocationUpdates as they normally do.
Naturally when background location is not enabled then it won't be an issue.