To use canOpenURL(_:) an Application must declare the URL schemes you pass to this method by adding the LSApplicationQueriesSchemes key to your app's Info.plist file. This method always returns false for undeclared schemes, whether or not an appropriate app is installed.
Summary of Changes
To use canOpenURL(_:) an Application must declare the URL schemes you pass to this method by adding the LSApplicationQueriesSchemes key to your app's Info.plist file. This method always returns false for undeclared schemes, whether or not an appropriate app is installed.
We are a browser and we have to handle all schemes. Can Open URL is removed from handle external urls. It was added with https://github.com/brave/brave-ios/pull/8495
This pull request fixes #7835 This pull request fixes #8494
Submitter Checklist:
NSLocalizableString()
Test Plan:
Check Test Plan and details for https://developer.apple.com/documentation/uikit/uiapplication/1622952-canopenurl
Additionally open a slack link outside the browser and see it works.
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement