openvpn_flutter icon indicating copy to clipboard operation
openvpn_flutter copied to clipboard

Connection on IOS always disconnected

Open mpxn opened this issue 1 year ago • 4 comments

The application compiles but the connection fails. On android everything is ok.

mpxn avatar Apr 19 '23 14:04 mpxn

i have also facing the same issue, is any solution???

MtechiTsolution avatar Jul 05 '23 04:07 MtechiTsolution

i have also facing the same issue, is any solution???

pandabossli avatar Aug 14 '23 08:08 pandabossli

I just found out that this library doesn't fully support vpn for iphone, you have to native code.

MtechiTsolution avatar Nov 01 '23 08:11 MtechiTsolution

Have you solved this problem?i have also facing the same.

James-bitoss avatar Apr 13 '24 15:04 James-bitoss

Have you solved this problem?i have also facing the same.

Solution:

You can resolve this issue by following one of these steps:

  • Option 1: Upgrade your iOS version.

Or, follow these steps:

  1. In your Podfile, set the platform target:

    platform :ios, '14.0'
    
  2. In Xcode, navigate to your app's target:

    • Go to Runner > General and set the Minimum Deployment Target to 14.0.
  3. For the VPNExtension target in Xcode:

    • Go to VPNExtension > General and set the Minimum Deployment Target to 15.6.

This worked for me. Thank you!

hredhayxz avatar Oct 07 '24 06:10 hredhayxz