I am developing an application in Objective-C and Go. So far, everything is working out quite well - except for a few hiccups.
What I want to know is: Is it possible to mitigate the warning Safari gives me when clicking on a link, which opens an installed application with a custom URL scheme?
My application has a custom scheme. Let's say it is XYZ. When I click on a link, such as
xyz://dosomething?cool=yes+please
I get the warning
Do you want to allow this page to open XYZ?
Any way to not have this prompt come up every time?
That's a new security policy of Safari (in 10.12.2+), at the moment there is no way to go around it. Maybe in a future Safari update they'll add an option to "Always allow" or a preference setting to disable it.
If you google it you'll find tons of people with this problem since using URL schemes to launch external apps is a quite common approach... Very popular applications like Transmission use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With