nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
349 stars 526 forks source link

cant get plugin to work. steps to debug? #123

Closed caleb87 closed 6 years ago

caleb87 commented 6 years ago

I can't get the plugin to work using PG CLI 6.5.2.

-AASA validated with https://branch.io/resources/aasa-validator/ -AASA has the exact team ID and bundle ID. -App ID has Associated Domains enabled

config.xml

<universal-links>
        <host name="www.example.com" scheme="https">
            <path url="*" />
        </host>
</universal-links>

The AASA under ul_web_hooks confirms the output from config.xml (though it shows YOU_TEAM_ID_FROM_MEMBER_CENTER). The AASA on the server actually has my team ID in it though.

When I'm in Safari, i'll press and hold a link to https://www.example.com/test.php, but it doesn't show "Open in App XYZ", nor does it ever open in the app.

Also, universalLinks.subscribe is not throwing errors in the app. I'm using a development cert.

How can I determine the issue?

PS. I originally tried the plugin on PGB until I learned it requires hooks which aren't supported. This could be useful in the documentation.