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

outdated

Plugin for flutter app to access VPN service.

Flutter VPN plugin #

This plugin help developers to provide 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. DO NOT use in production.

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.

97
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Plugin for flutter app to access VPN service.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_vpn