Hi all,
I am trying to get an app working that ideally needs to run, even if the screen is off. This is as it needs GPS coordinates frequently.
As soon as the screen goes off, gps locations aren't returned. I've hacked around this just to test, by forcing the screen on, which solves that issue. But it uses too much battery with the screen on all the time.
Is there any way to keep an app running (to get GPS notifications), I've read about wakelocks and foreground services, but can't seem to find anything that applies to flutter in how this may be achieved.
Tia, Ian