Open musakhani opened 2 years ago
`
(void)startTunnelWithOptions:(NSDictionary )options completionHandler:(void (^)(NSError ))completionHandler {
if (options == nil) { NSString *msg = NSLocalizedStringWithDefaultValue( @"vpn-connect", @"Outline", [NSBundle mainBundle], @"Please use the app to connect.", @"Message shown in a system dialog when the user attempts to connect from settings"); [self displayMessage:msg completionHandler:^(BOOL success) { completionHandler([NSError errorWithDomain:NEVPNErrorDomain code:NEVPNErrorConfigurationDisabled userInfo:nil]); exit(0); }]; return; }
`
outline-client/cordova-plugin-outline/apple/vpn/PacketTunnelProvider.m
this is the code that should show the alert but it not works in ios 15
before it was like this
hey, if the user tries to connect to the VPN through setting, the app is used to show an alert with the following error: "Please use the outline to connect" but since the ios 15 was released this feature has stopped working and it is stuck on the "connecting..." status please see the below screenshot