Custom URL scheme checking ANE
Many apps utilize custom URL scheme to provide app to app communication (e.g. twitter:// fb://). When the app is not available, developers should implement a fall back mechanism.
Currently there are no way for AIR to check whether the custom URL scheme is valid or not.
We have recently added this method to our Application ANE for iOS.
That ANE now includes a method “checkUrlSchemeSupport” which will check any URL scheme you pass in.
This is a new feature so please report any feedback or issues with this method.
-
Vicker Leung commented
Cool. Is that available for Android as well?
-
We have recently added this method to our Application ANE for iOS.
That ANE now includes a method “checkUrlSchemeSupport” which will check any URL scheme you pass in.
This is a new feature so please report any feedback or issues with this method.
-
This is a good idea. Currently our FacebookUtils ANE supports this check for the fb:// url scheme.
In terms of other URL schemes, we might look at adding functionality to the Application ANE to give developers a method of checking the availability of any custom URL scheme.