The proper way to run tasks in the background is with foreground services.
I'm saying that this is the best way to run tasks in the background. It will work on most devices most of the time.It was my impression that these devices kill even the apps doing this, are you saying it's not so?
use StartServiceAt to schedule the app to start every 30 minutes
I will try to include REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, maybe this help on problematic devices.
App will be updated in this month. I will report back my conclusions.
This is a different case, more similar to push notifications. I guess that it will work better.do you think that geofences still work as expected even though the device has overly aggressive killer instincts?
I will try to include REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, maybe this help on problematic devices.
App will be updated in this month. I will report back my conclusions.
Is there even a way to catch this closing event so that I get a warning everytime the app is killed?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?