We are looking for cordova vpn plugin for ionic

Hi any one suggest cordova vpn plugin for multiple platforms.

Which ones did you already try?
What were the problems with them?

i tried cordova-plugin-vpn , plugin adding time i am getting this error

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Variable(s) missing (use: --variable ALLOWWIFI=value).

while installing the plugin add the line at the end

–ALLOWWIFI=TRUE( or if you don’t want then FALSE )

1 Like

I added but getting same error
cordova plugin add cordova-plugin-vpn --variable ALLOWIFI=TRUE

Thank you for respond

I guess it is expecting a Boolean, try with true in lowercase…

ya right it will work if we change plugin name

cordova plugin add cordova-plugin-vpn --variable allowWiFi=true

Thank you for your help