Open VPN Extension
Open VPN extension, It can connect with VPN (Virtual private network) servers using .ovpn file
Download .ovpn from VPN Gate - Public Free VPN Servers
Blocks
StartVpn: This block will connect with VPN servers
tittle = The given text will display as tittle in notification
vpnFile = Full .ovpn vpn file name
county = country name of .ovpn file
username = user name of .ovpn file
password = password of .ovpn file
PrepareVpn: Connection request dialog will pop up, This dialog will appear once and block return false if Connection request permission is denied otherwise it always return true
StopVpn: This will stop the VPN
VpnServiceStatus: This block will return the current status of VPN
GetOsArch: This block will return Arch of the device
The library supports these arch:
arm64-v86
armeabi-v7a
x86
x86_64
kindly search on google for more info
OnError: This block will trigger if any error occurs
Demo Blocks
Demo Video
Only you need to add libs and assets folder to APK/AAB and save the APK/AAB.
How to add Open VPN native library to APK/AAB
Step 1 )
I have given a aidl.zip which contains a libs and assets folder inside, Extract all files from the zip
Step 2 )
Now you need APK editor to add a library
For pc users : Download APK editor studio
Open Apk editor studio > Open apk > Open contents > Now paste the libs and assets folder
Save the APK file
Sign APK/AAB by @Anke
https://community.kodular.io/t/how-to-build-a-big-app-apk-max-100-mb-or-aab-150-mb/50097
For android users : Download MT Manager APK Or you can use any APK editor
Click on APK > Then a pop-up menu will display > Click on view button (It will show contents of APK/AAB ) > Now paste the libs and assets folder
Save the APK/AAB file
Sign the APK/AAB
Hold the APK/AAB file in MT manager then pop-up menu will display
Press on sign file and import key and place the sign
Or
How to add asset and sign aab file
The extension contains these permissions :
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Extension is working fine in Android 12-64bit, Android 11-64bit, Android 10-64bit, Android 7-32bit (emulator)
Download
Open VPN extension is paid because it was really hard to load native library and find a way to inject AAR library to APK file because currently there is no support for AAR library in extension. Making an Injector took more time than I expect.
Native library size: 7 MB
AAR Injector size: 2 MB : You just need to upload injector file in assets
Extension will not work in companion
Before buying the extension just get to know, I’m not gonna edit the APK for you, everything has mentioned above pls read first.
Price: $15
If you want to purchase the extension with UPI then please PM me for the payment details.