I want the android app to sync with the server every 30 (or any interval) minutes and notify user if there is any change.
I have already tried [JobScheduler][1]
. It seems like [JobScheduler][1]
runs the event at optimized interval not at exact interval. Some one suggested [AlarmManager][1]
but i don't think that will also work - It also checks the battery optimization. (setExactTime
and setExactAndAllowWhileIdle
also runs at optimized time)
I want the app to sync with the server at exact interval no matter what.