We are working on app which turns on VPN when mobile is on wifi (in running, background and close state)
When we turn on/off wifi after 3 minutes in background, we are unable to check the network status and restart the VPN Tunnel.
Query - How can we check network change using Network Framework in background till the time app is in background mode?
Note: - We are able to do this with the combination of location and background task but usage of location services is not in our requirement
Check Network change in background
Add a Comment