kenguest opened a new issue, #1080:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1080

   # Bug Report
   
   ## Problem
   
   External links won't open on iOS 18. They do open on iOS 17. I upgraded to 
iOS 18 and it does not any more. e.g.
   `<a target="_system" href="https://google.com";>Click me</a>`
   
   iOS 18 is now on 68% of iOS devices - 
https://uk.pcmag.com/operating-systems/156441/ios-18-adoption-hits-68-among-iphone-users
 - so it's rather important this gets fixed.
   
   This is described in https://github.com/apache/cordova-ios/issues/1511 which 
apparently was closed with no code change made. (I looked at the repo for 
cordova-plugin-inappbrowser and did a "git blame" - couldn't find any relevant 
code changes)
   
   ### What is expected to happen?
   
   The link should open in an external browser, most likely Safari.
   
   
   ### What does actually happen?
   Nothing - no message, no log entry (apart from below in xcode) and no crash. 
 A great absence of the link not opening :(
   
   
   ## Information
   
   Logs in Xcode when this happens :
   
   `BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(_:) needs to 
migrate to the non-deprecated UIApplication.open(_:options:completionHandler:). 
Force returning false (NO).`
   
   
   
   ### Command or Code
   
   Build an app with the code below on iOS 18 and click the link :
   
   `<a target="_system" href="https://google.com";>Click me</a>`
   
   Or use code like:
   `cordova.InAppBrowser.open('https://google.com/', '_system');`
   
   
   ### Environment, Platform, Device
   
   An iPad or iPhone running iOS 18.
   
   
   ### Version information
   
       iOS 18.2
       cordova-ios 7.1.0
       cordova-plugin-inappbrowser 6.0.0
       cordova 12.0.0
   
   
   
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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.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