openvpn_flutter icon indicating copy to clipboard operation
openvpn_flutter copied to clipboard

Vpn is not connecting in release apk and aab

Open 92sajid110 opened this issue 2 years ago • 4 comments

After all fixes in latest plugin, now apk build and run successfully but vpn is not connecting it's automatically disconnected. What i have tried yet added in gradle file android.bundle.enableUncompressedNativeLibs = false added in manifest android:extractNativeLibs="true"

disable minifyEnabled false debuggable false shrinkResources false

92sajid110 avatar Nov 09 '22 10:11 92sajid110

I had the same issue. I added openvpn_flutter as a local dependency and it worked.

copy openvpn_flutter package from the local pub cache and paste in the root of your flutter project. Then in pubspec.yaml replace

openvpn_flutter: [version]

with

openvpn_flutter: path: ./openvpn_flutter-1.2.0

taimoor522 avatar Nov 10 '22 10:11 taimoor522

I had the same issue. I added openvpn_flutter as a local dependency and it worked.

copy openvpn_flutter package from the local pub cache and paste in the root of your flutter project. Then in pubspec.yaml replace

openvpn_flutter: [version]

with

openvpn_flutter: path: ./openvpn_flutter-1.2.0

Adding dependency as local does nothing to solve the issue and it's not the case. Maybe you ended up using different library version or something else has happen.

0ttik avatar Nov 19 '22 15:11 0ttik

@nizwar

bugrevealingbme avatar Dec 04 '22 10:12 bugrevealingbme

You can use version 1.2.0

openvpn_flutter: git: url: https://github.com/bugrevealingbme/openvpn_flutter-120

@0ttik

bugrevealingbme avatar Dec 04 '22 11:12 bugrevealingbme