Closed
Description
Bug Report
Problem
External links won't open anymore. I was on iOS 17 and it worked, I upgraded to iOS 18 and it does not anymore. Example :
<a target="_system" href="https://www.npmjs.com/package/cordova-ios">Click me</a>
What is expected to happen?
The link should open in an external browser, most likely Safari.
What does actually happen?
Nothing, no crash, log or message, except the one below in Xcode
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://www.npmjs.com/package/cordova-ios">Click me</a>
Environment, Platform, Device
- iPhone 14
Version information
- iOS 18.1.1
- cordova-ios 7.1.1
- cordova 12.0.0
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Updates
Edit 1 :
Further information about this : https://forums.developer.apple.com/forums/thread/763568
It seems that even the open() function fails in some cases.
Edit 2 :
The issue does not seems to be from this repo directly. I keep searching...
Metadata
Metadata
Assignees
Labels
No labels