Using Delphi 10.3.
I wrote an android app of notifications based on the geolocalized position.
I have this problem: when I send the app in the background (I verified that it remains running, even with the back button, where I specified not to close it but to send it in the background), TLocationSensor stop tracking the position.
Is there any way around this? or do I have to use a service associated with the app?
But however, with an associated service, it is solved, putting TLocationSensor in the service associated?
Can you still find a quick fix for the background app? (I specify that for the moment I don't care that the app can be closed at any time by android)