{"repo":"nizwar/openvpn_flutter","free":true,"listed":false,"github":"https://github.com/nizwar/openvpn_flutter","clone":"git clone https://github.com/nizwar/openvpn_flutter.git","description":"A package that allow you to connect OpenVPN service with Flutter","language":"Swift","stars":116,"topics":["flutter","android","ios","vpn"],"license":"GPL-3.0","category":"mobile-apps","readme_excerpt":"Connect to the OpenVPN service using Flutter. Contributions through issues and pull requests are highly appreciated! Android Setup 1. Permission Handler Java Include the following code in the onActivityResult method of MainActivity.java (if you are using Java): The complete method should look like this: Kotlin Include the following code in the onActivityResult method of MainActivity.kt (if you are using Kotlin): The complete method should look like this: 2. App Bundle Build Not Connecting If you encounter issues with the app not connecting using the latest Flutter SDK, apply the following quick fix: Ensure that you include the following attribute within the tag in your AndroidManifest.xml file: iOS Setup 1. Add Capabilities Add the App Groups and Network Extensions capabilities to the Runner's target. Refer to the image below for detailed instructions: 2. Add New Target Click the + button on the bottom left, choose NETWORK EXTENSION , and follow the instructions in the image below: Add the same capabilities to the VPNExtension as you did for the Runner's target: 3. Copy and Paste Add the following lines to your Podfile ( ios/Podfile ): Open VPNExtension PacketTunnelProvider.swift and copy-paste the script from PacketTunnelProvider.swift. Note You must use iOS devices instead of the simulator to connect. Recipe Initialize Before starting, initialize the OpenVPN plugin: Connect to VPN Disconnect Publishing to Play Store and App Store Android 1. You can use app bundles to publis","default_branch":null,"files":null,"tree":[],"storefront":"/r/nizwar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nizwar/openvpn_flutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}