Android foregound service not running every time
I have a foreground service to detect activity recognition changes, but looks the service sometimes going to sleep or something similar and that’s why not working correctly. I added a “ping” log:
I have a foreground service to detect activity recognition changes, but looks the service sometimes going to sleep or something similar and that’s why not working correctly. I added a “ping” log: