I want to sync the data with server between 12 am - 6 am only.
I have solutions like WorkManager and sync adapter at my disposal. But some manufactures put restrictions on these work managers and syncadapter also.
What is a sure shot solution that a network request will can be made between these non active hours(most users are not using the app) ?
https://developer.android.com/topic/performance/power/power-details
https://developer.android.com/training/monitoring-device-state/doze-standby#support_for_other_use_cases