Android Question WiFi state control by JobScheduler and WorkManager

Erel

Administrator
Staff member
Licensed User
For Android 7+ we cannot use broadcast receivers for network change state.
You can use dynamic receivers while the app is running.

The other possible solution is to schedule your app to start from time to time with StartServiceAt and check the network state.

If your app must act immediately when the network state changes then you must use a foreground service. Other solutions will not work.
 
Top