I Have a url sending to email and if the user hit that link it opens the app if it's installed, and it was working fine in iOS 8, since i switched to iOS 9 the redirection to the application not working any more, I tried to add "LSApplicationQueriesSchemes" array and add my url schemes in it, but i did not work too. So, what did it miss ?
With iOS9, Apple is changing a few things concerning URL schemes. http://awkwardhare.com/post/121196006730/quick-take-on-ios-9-url-scheme-changes is an article about those changes.
Basically, you now have to register all URL schemes that are supported by your app in your .plist file.
I did a fix in javascript code that make a redirection to url that open my application.
I was create an iframe that hold a url src object for the redirect url. I removed that iframe and replaced it with that line window.location = "url", that's it and every thing work perfectly fine and safari now redirected me again to my application but this time with one more step is it shows up a message for the user that ensure he want to goto the application.
So, if any one faced that problem with redirection again, check the redirection code javascript and remove the iframe and replaced it with window.location
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