UIApplication.shared.open(url) is not working on iOS 18+ devices

Im working on a mobile application(Flutter) of an insurance.

In the application we have an option to open an external app from our application, we are using external_url as a dependency of flutter, and in the AppDelegate we have the UIApplication.shared.open(url), that was working fine on IOS 17 until we installed the new iOS version(18)eather to open the external app if its already installed in the device or to navigate to App store. We added ":options" and "completionHandler:" to open(url) but nothing works. I can see that its a common issue in the developer forum since iOS 18+.

The big problem is the log doesnt show anything.

I would use Console.app and check the logs for additional information as a first step. We don't provide support for Flutter if you can reproduce it in a native app, it would be good to take a look.

In order for our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Accepted Answer

For anyone who faced this problem on flutter, we found the solution. Its a flutter bug, we used the package "External_app_lancher" its latest version "4.0.1" doesnt support IOS 18+, so I tried the package "Url_lancher" and now it works fine.

UIApplication.shared.open(url) is not working on iOS 18+ devices
 
 
Q