Is There a way to Get Location Update of user in a flutter app (for both android and ios) while the app is not running or is in the background (on stop state). Can this be done using dart code only? or if there is any other way to have this functionality?
There are a few pub libraries you could use.
carp_background_location is my favorite. It is build on top of background_locator library. It is very easy to use, and seems to work fine on android. It claims to work on ios but i have not tested that.
It also shows a notification, and you can set the text for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With