My App needs to run in background continuously to send the location updates to the server. I tried Timer , Job Scheduler with background service none of these didn't worked. Its working fine when device is active, after entering into Doze mode the timer which i used is getting paused. When the device is active the Timer is getting resumed.
Checked with this Permission also ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS.