I can't seem to get iOS universal links on my Flutter app working. Here are the steps I have taken to setup universal links:
Installed flutter uni_links package
Uploaded the following apple-app-site-association (with actual values for Team ID & bundle identifier):
{ "applinks": { "details": [ { "appID": "xxxxxxx.com.bundleIdentifier", "paths": [ "*" ], "appIDs": ["xxxxxxx.com.bundleIdentifier"], "components": [ { "/": "*" } ] } ] }}
Validated apple-app-site-association file via https://branch.io/resources/aasa-validator/ (worth noting that I was not able to validate with Apple's appsearch-validation-tool - received error: "Could not extract required information for Universal Links.")
Added the associated domain in my project capabilities: screenshot from xcode
Opening with /usr/bin/xcrun simctl openurl
or clicking on the url on my mobile device (tried from notes app) still opens the url in safari instead of opening the app.
What could I be missing?
mode=developer
to your project capabilities to bypass apples CDN. You can also generate a sysdiagnose on your device to get the log file wwt.com/article/… – Tearoom?mode=developer
to my project capabilities and ran the analytics according to the article. My app is not even showing up in theswcutil_show.txt
so I'm guessing that means the app isn't even looking for the AASA file? Really dumbfounded as to what I could be missing. – Hushaby