flutter_vpn icon indicating copy to clipboard operation
flutter_vpn copied to clipboard

bug in "FlutterVpn.currentState" method on ios platform.

Open geek-sajjad opened this issue 5 years ago • 1 comments

hi, i encountered a problem in ios platform. i connect to vpn and get the state of connection using "FlutterVpn.currentState" and it works fine. but when i exit the app while vpn is still connected, and then open it again, the "FlutterVpn.currentState" function returns "FlutterVpnState.disconnected" while the vpn is still connected.

geek-sajjad avatar Sep 22 '19 07:09 geek-sajjad

I think that It is caused by the init value for the corrent state variable in the sample app..

mr-mamali avatar Feb 13 '20 05:02 mr-mamali