I have a question mainly related to the Iphone web browser, but I hope the same solution will work on other webkit-based browsers.
I have an application (Iphone + Android) that registers a handler for a custom URI (appuri: //) on the phone. I can launch the application by making a link to "appuri: // act / launch" from my web pages. This only works if my application is installed on the device. If the device does not have an installed application, a message appears: "Safari could not open ...".
What I want to do is determine if the URI scheme is supported in the browser, and then request my own message that “download the application..blah blah blah” if no handler for the URI scheme is found.
Is there a way to find or find a list of URL scheme handlers on the phone in a web browser?
source
share