locus-api
locus-api copied to clipboard
Start Track recording does not work when Maps 4 is not in forground in Androi 14
I found a strange thing: some tasks work when Locus Maps 4.28.0 is in background, but others don't.
Lets do some examples
am broadcast -a com.asamm.locus.ACTION_TASK --es tasks '{"track_record":{"action":"start"}}' menion.android.locus
am broadcast -a locus.api.android.ACTION_TRACK_RECORD_START menion.android.locus
Both work if locus is open, but don't if locus is not on foreground. If Locus is not in foreground, it opens the battery optimization screen and locus is already allowed to run in the background. Happens even if Locus is run as service. Is there something missing on my Emulator setup?
Map Zoom however works always.