I use the cordova plugin "ionic-plugin-deeplinks" (to my knowledge also works with a plain cordova app).
On Android, links when clicked let users choice between chrome and my application. => I suppose that app links works => As I'm able to access window.IonicDeeplink and redirect the user to the right page
I'm not able to have the same behavior on iOS, when I click a link I always get the app open in Safari.
How can I find clue on issues ?
More context:
apple-app-site-association
is got with a HTTP 200 (over https only), it's located in/.well-known/apple-app-site-association
:- I checked TeamID and BundleID 5 times (at least);
- with the branch.io validator i get all validations green:
- Your domain is valid (valid DNS).
- Your file is served over HTTPS.
- Your server does not return error status codes greater than 400.
- Your file's 'content-type' header was found :)
- Your JSON is validated.
- with the apple validator, I got : "Action required Could not extract required information for Universal Links. Learn how to implement the recommended Universal Links. Error no apps with domain entitlements The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update." (but some devs said that working app add the same error) what to do with that result?
- when monitoring server's log while installing the app with Xcode I see a request get a HTTP 200 on
apple-app-site-association
- while installing the app with Xcode I got no logs referring to swcd in Xcode (I read here that I should if I had error while installing the app). Is a successful installation silent?
- I followed that guide to setup entitlements, but some things feel odd with it:
- Unlike the snapshot in the guide, I didn't found any
*.entitlements
file in my project. Should I have one with cordova? (my xCode seems to remember my setting though). Is it possible to check that installed app get entitlements? - I did set my domain in Xcode like this:
applinks:mydomain.com
and the switch is ON. But I never uploaded any thing from my local dev environment to apple services. Should I have? If yes, how ?
- Unlike the snapshot in the guide, I didn't found any
My current interrogations are highlighted but any explanations on any lack of understanding will be more than welcome!!!
Until then I started a verification for testFlight looking for more info.