Android periodic work friendly to doze mode and app standby
Android periodic work friendly to doze mode and app standby I'm trying to found a best way to perform periodic work in android that will play nicely with doze mode and app standby. I've tried WorkManager with periodic request, it works fine at the beginning (for 15 mins requests) but the time slots diminishes as time goes by, after a week its seems to get triggered only once per day. What is the best way to get the required behavior and still be doze mode and app standby friendly? If you have a server I think FCM this is your best option: developer.android.com/training/monitoring-device-state/… – Hed Shafran Jul 1 at 10:44 I thought about it(FCM), but after reading the FCM documentation, I've decided it's not the way, in docs it's stated ". High priority messages generally should result i...