'Does flutter_background_geolocation fetch the location even when app is killed?

I’ve been using background_locator to fetch the location of the user in the background even when app is killed. To be honest, it’s the only package that worked for me. Now this package is not reliable after using for months and the maintainer doesn’t publish updates often.

I’m look for alternative. Is flutter_background_geolocation a true alternative?



Solution 1:[1]

It does work even when the app is terminated. it is called headless mode in android. I have tested in android and seems to work so far.

Android Headless Mode Flutter Background Geolocation

I havent't tested in iOS yet.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mohamed El Hadramy Oumar