With VPN on, some apps are not launching

Hi,

We have developed an app which uses network extension to set up VPN using NEPacketTunnelProvider. All works well. When we launch apps like Hotstar, they fail to launch and throw error: "VPN Detected: You seem yo be using an blocker or proxy .....".


Is there a way we can whitelist such apps such that netwrok traffic from these apps does not flow though our VPN and these aoos are still usable?

Thanks!!

Is there a way we can whitelist such apps such that netwrok traffic from these apps does not flow though our VPN and these aoos are still usable?

Probably not. Unless it’s operating in per-app VPN mode (in which case you probably wouldn’t be asking here), a packet tunnel provider treats all apps equally.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Hi,

Did you manage to solve this?

It does not help even if we bypass the traffic from these apps going via tunnel.
Some apps like pokemon go detects vpn/proxy based on traffic, and hence we were able to solve this by bypassing the traffic.
But Hotstar or SpectrumTV does not work, until VPN is turned off.

Is there a way to handle this using the Packet Tunnel Provider?
With VPN on, some apps are not launching
 
 
Q