ccnnde / react-native-simple-openvpn

A simple react native module to interact with OpenVPN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to configure allowed apps using the package name/bundle id?

vinaydrevankar opened this issue · comments

How to configure allowed apps using the package name/bundle id?

What exactly do you mean? providerBundleIdentifier?

Android ics-openvpn we can specify the apps(packagename) that we dont want to access the vpn connection. instead those apps access the normal internet connection.

I could see this also in your library in file VpnProfile.java. However its not exposed in react native

mAllowedAppsVpnAreDisallowed - if set true, the packages that we specify setAllowedVpnPackages use normal internet connecton and rest will use our apps vpn. If false, the packages that we specify setAllowedVpnPackages use our VPN connection and rest will use normal internet connection

I see, I'll look into it when I'm free.