Universal Link was working fine on iOS 12 but I ran into issues when I updated to iOS 13.1 yesterday. URLs that\'s supposed to open the app when tapped are just opening up in th
After much testing, I found out the following is the format that works for both iOS12 and iOS13. iOS12, absolutely requires every details
dictionnary entry to contain the appID
and paths
parameters to work properly. iOS13 on the other hand expects the first entry to contain both appIDs
and components
. This means the first entry absolutely needs to contain all 4 parameters to support both platforms for Autofill (with the Save Password prompt) and Universal Links.
Ironically, this format does not pass the Apple App Search API Validation Tool, but it does work for the Branch one... FTS! Note also that having your username and password UITextField on different VCs does not work (you will not get the Save Password prompt). I had to add a "fake" username UITextField on our password screen so it got picked up by the OS and DO NOT hide it, nor make either width or height 0px (so basically make it 1x1px in size, with clear text and background and fill it with your username from the previous VC).
{
"applinks": {
"apps": [],
"details": [
{
"appIDs": [ "ABCDE12345.com.domain.app", "ABCDE12345.com.domain.app2" ],
"appID": "ABCDE12345.com.domain.app",
"components": [
{
"/": "/documentationsucksforios13",
"comment": "This documentation is awful"
}
],
"paths": [ "/documentationsucksforios12" ]
},
{
"appID": "ABCDE12345.com.domain.app2",
"paths": [ "/validationtoolsdontwork" ]
}
]
},
"webcredentials": {
"apps": [ "ABCDE12345.com.domain.app" ]
}
}