AlexDonn19 commented on issue #1511:
URL: https://github.com/apache/cordova-ios/issues/1511#issuecomment-2688038293

   See this link:
   
https://discussions.unity.com/t/application-openurl-doesnt-work-on-ios-18/1553960/12
   You can change CDVWKInAppBrowser.m , string 364 to something like this:
   // [[UIApplication sharedApplication] openURL:url];
   if (@available(iOS 10.0, *)) {
    [[UIApplication sharedApplication] openURL:url options:@{} 
completionHandler:^(BOOL success) {
    if (!success) {
     NSLog(@"Failed to open URL: %@", url);
    }
   }];
   } else {
    BOOL success = [[UIApplication sharedApplication] openURL:url];
    if (!success) {
     NSLog(@"Failed to open URL: %@", url);
    }
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to