You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dan Polivy (JIRA)" <ji...@apache.org> on 2016/02/26 02:46:18 UTC

[jira] [Created] (CB-10704) [iOS] Add support for Universal Links in cordova-ios

Dan Polivy created CB-10704:
-------------------------------

             Summary: [iOS] Add support for Universal Links in cordova-ios
                 Key: CB-10704
                 URL: https://issues.apache.org/jira/browse/CB-10704
             Project: Apache Cordova
          Issue Type: New Feature
          Components: iOS
            Reporter: Dan Polivy
            Priority: Minor


iOS 9 introduced support for Universal Links (https://developer.apple.com/library/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html) -- essentially, the ability to launch an app directly given an http/https URL without requiring a custom URL scheme.

It would be nice to have built-in support for this in the cordova-ios template, similar to how the existing {{openURL}} functionality works.

I created a gist that has an implementation of the necessary delegate to do this, and it works using the existing {{CDVHandleOpenURL}} private plugin. In addition to the gist, a new entitlement needs to be added to the project (not sure if this is currently supported in a standard way), and a server-side configuration file must be uploaded to your domain.

https://gist.github.com/dpolivy/b181d881c0137d98be57

I've tested this briefly by modifying my project in Xcode, and it seems to work well!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org