79552932

Date: 2025-04-03 12:38:16
Score: 0.5
Natty:
Report link

You need a background collection service. Usually both Android and iOS gives you the option to run background operations with the following options:

Beware that these background operations will be terminated after a certain time by the OS. This is the default behavior, but there are some workarounds you can try.

There is a package that will help you with these features, its the flutter-background-geolocation, made by Transistorsoftware, I use this package on my applications and it works pretty fine!

https://github.com/transistorsoft/flutter_background_geolocation

Just beware: you can't easily access the keychain while the APP is in the background, so keep that in mind when you're performing these operations 😉

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Celso Wellington