When I exit and enter the application, the activity does not appear
When I exit and re-enter the application while it is connected, it seems to be disconnected. Android & iOS same.
Hi, make sure you've listen onVpnStageChanged from initialization, it will get latest stage of connection.
For example https://github.com/nizwar/openvpn_flutter/blob/master/example/lib/main.dart
you can also check this apk as it working like expected on me https://github.com/nizwar/openvpn_flutter/releases/tag/v1.0.4
I'm already using the same. On iOS, when I re-enter it, it shows no connection
@bugrevealingbme Hi, I overcome this issue with this plugin. (https://pub.dev/packages/check_vpn_connection)
When app re-launch i check with this plugin, is there any vpn connection is active on device? if yeas then i show vpn disconnect button. and use same function to discount the vpn connection.
Hope will help u.
The user may be connected with another VPN. a very unpleasant situation
The user may be connected with another VPN. a very unpleasant situation
Just OpenVPN#isConnected method.