flutter_vpn 0.0.3 copy "flutter_vpn: ^0.0.3" to clipboard
flutter_vpn: ^0.0.3 copied to clipboard

outdated

Plugin for developers to access VPN service in their flutter app.

Flutter VPN plugin #

This plugin help developers to access VPN service in their flutter app.
本插件帮助开发者在自己的应用内调用 VPN 服务。

The Android part was implemented by strongswan which support ikev2 protocol.
The iOS part not implemented yet.

Warning #

This plugin is still under initial development.
Issues and PRs are welcome!

Installation #

For Android #

Add the service in the application part your AndroidManifest.xml.

<application
        ...
    <activity
        ...
    </activity>
    <service android:name="org.strongswan.android.logic.CharonVpnService"
        android:permission="android.permission.BIND_VPN_SERVICE"/>
</application>

Modify your app/build.gradle to use Java 8 and avoid #22397.

android {
    ...
    lintOptions {
        ...
        // To avoid error.
        checkReleaseBuilds false
    }

    // Plugin requires Java 8.
    compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }
}

The plugin will automatically download pre-build native libraries from here if they haven't been downloaded.

98
likes
0
pub points
85%
popularity

Publisher

unverified uploader

Plugin for developers to access VPN service in their flutter app.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_vpn