iOS 14 Universal Links broken on default browser other than Safari

On iOS 14 you can pick another default browser than Safari. If you use another browser, that browser will ask the user to change their default browser. 

I have installed quite a few browsers (Chrome, Firefox, Edge, Opera, Brave...) and have set each of them as my default one.

Problem comes when I try to open a Universal Link (which was working just fine when Safari was the default browser), which seems to just not work. With Safari as default browser, the Universal Link would work, and the corresponding native app was getting opened. However, with any other browser different from Safari set as default, the feature is broken and the Universal Link doesn't open the native app.

Has anyone experienced anything similar?
Why might this happen and how might this be solved?

Any help is very much welcomed


Replies

I ran into the same issue. The info.plist was missing the LSApplicationQueriesSchemes entry with a https value.

For some reason, when Safari is the default browser, application.canOpenURL(url) returns true regardless of a LSApplicationQueriesSchemes entry. But when Chrome is the default browser it returns false and prints the following error in the console when that entry is missing.

Code Block
-canOpenURL: failed for URL: "https://redacted" - error: "This app is not allowed to query for scheme https"

  • I've tried this solution without any luck. Which tool did you use to get logs while using Chrome?

Add a Comment