THIS FORK IS MEANT FOR PERSONAL USE ONLY, I DO NOT PLAN TO MAINTAIN IT IN THE FUTURE I'm just trying to make it work for me with fixed reboot and fixed callbacks...
For now, the example seems broken, I saw a pull request on the main repo about it, I don't know if I'll take time to make it work.
In order to use it in your project, paste this in your pubspec.yaml in dependencies :
background_locator:
git:
url: https://github.com/Yukams/background_locator_fixed
ref: master
A Flutter plugin for getting location updates even when the app is killed.
Refer to wiki page for install and setup instruction or jump to specific subject with below links:
- Installation
- Setup
- How to use
- Use other plugins in callback
- Stop on app terminate
- LocationSettings options
- Restart service on device reboot (Android only)
This project is licensed under the MIT License - see the LICENSE file for details
Thanks to all who contributed on this plugin to fix bugs and adding new feature, including: