Post

Replies

Boosts

Views

Activity

Reply to Stop NEPacketTunnel when internet is switched off
As roee84 pointed out. My scenario is VPN is already cinfigued and running. Containing app is no longer running in background (as iOS kill background apps). Is there a way in NEPacketTunnelExtension itself, where it checks for internet and disables?I have observer registered but it does not recieve the call back becuase app is not running.Strangely, when Wifi is off, I cannot toggle VPN to ON state (manually). But when VPN is already ON then I can switch off wifi. VPN remains connected. This causing issues with other apps.
May ’20