-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Connecting VPN in iOS #106
Comments
Fixed, The flutter_VPN was not being able to catch the error because there was no issue in the Configuration. The configuration of the IKEV2 can differ for everyone so Everyone should update it accordingly. Anyone having same issues can reach me out for further fixes.
|
@arshmancodes Please, would you like to share the code with me I am stuck in IOS configuration. |
I have provided the code above you can just open the XCode and paste the above lines of code in the Swift file natively. |
@arshmancodes Thank you for your reply. |
Sure. |
@arshmancodes |
1 similar comment
@arshmancodes |
@syedabdulbasit1 |
You can use the code above and paste it into the native swift implementation of the Plugin, if you are able to do the pod install and open the project in XCode, you will be able to see the package in the pods folder and navigate to its main file and there you will be able to see the functions and code of the package and then you can implement this code over there in the function. If you need any more help or guidance feel free to contact me i will help you out with it. |
@liangguohun |
Hello there, I Have developed a VPN Application and the application is working perfectly on Android all the servers added to the Application are connecting without any issue on Android.
But when I opened the project on Xcode and added Network Extension and Personal VPN Capability in the Target Runner.
And when I run the Application on iOS on Trying to connect the VPN I get a message in the Console "VPN Started Successfully"
But when I see the FlutterVPNState, it shows disconnected and the VPN Symbol doesn't appear on Top of the screen.
I tried many possible solutions and When I add a Network Extension to Target the application crashes and doesn't open up.
Can anyone share the possible solutions for this ?

I think there is an issue because the Package shows VPN Started Successfully but it doesn't and doesn't even give an error message.
The text was updated successfully, but these errors were encountered: