nizwar / openvpn_flutter

A package that allow you to connect OpenVPN service with Flutter
https://pub.dev/packages/openvpn_flutter
GNU General Public License v3.0
84 stars 95 forks source link

Accessing hidden method #81

Open popovoleksandr opened 1 year ago

popovoleksandr commented 1 year ago

Hi

openvpn_flutter 1.2.2

Receiving the following while using *.ovpn file:

I/OpenVPN (25984): /data/app/~~ssyzZOdhvSGs_WzppbY0_Q==/com.example.flutter_app-DbqljSkIhXWxm19ZhMjjhQ==/lib/x86_64:/data/app/~~ssyzZOdhvSGs_WzppbY0_Q==/com.example.flutter_app-DbqljSkIhXWxm19ZhMjjhQ==/lib/x86_64/libovpnexec.so
D/EGL_emulation(25984): app_time_stats: avg=29.13ms min=13.02ms max=149.07ms count=26
W/skipr.skipr_app(25984): Accessing hidden method Ljava/io/FileDescriptor;->getInt$()I (unsupported,core-platform-api, reflection, allowed)

Calling OpenVPN as follows:

Future<void> initPlatformState() async {
        final ovpnFileData = await rootBundle.loadString('assets/client_cfg.ovpn');

        engine.connect(ovpnFileData, "USA");
        if (!mounted) return;
}
Yorlandiscuba commented 1 year ago

you fix it?? i have the same issue, i dont know how fix it, dammn