-
Notifications
You must be signed in to change notification settings - Fork 38
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
No tracking when in background #71
Comments
You need to set the location permission to "always allow". This is not something an app can request and in a production app you should show a dialog to the user and open settings for them. |
After setting "always allow", does this plugin work on iOS when the app is terminated? i.e. when the 500 meter threshold is passed, does it wake up the app with our callback? |
@ikbendewilliam Even with that setting enabled, it doesn't work for me. To reproduce:
Expected result:
Actual result:
|
I made a pull request on a different repo that achieves this: Almoullim/background_location#207 |
There's also Would be good to have it in one add-on, though. And perhaps there's even a better way to achieve this in general? The perfect solution for my use case would be a native geofencing plug-in that works reliably in the background. |
background_location_tracker: ^1.4.4 I'm using this version, but location tracking stops in the background. I also tested the example application, and I have the same issue. Can someone guide me, please? I need to implement live tracking in my application. |
I see that if the example app is not in the foreground (the background), I continue to get notifications.
But as I close the app the notifications stop.
The text was updated successfully, but these errors were encountered: