Using same domain + path universal link for multiple apps

Hi.


I'm currently adding support for universal links to the apps I am working on. There's the requirement, that if the user visits for example https://ourwebsite.com/login, it should be handled by any of our installed apps.


The apple-app-site-association looks the following:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "TEAMID.ourwebsite.com.app_one",
                "paths": [ "/login"]
            },
            {
                "appID": "TEAMID.ourwebsite.com.app_two",
                "paths": [ "/login"]
            }
        ]
    }
}


If the user has installed app_one, everything works as expected. But if she only has installed app_two, then the deep link is not handled by the app but by Safari.

I've checked the documentation and didn't find anything explicitly stating that this scenario would not be supported. But my assumption is that if the paths value matches and the app is not installed, iOS does not proceed in the list but immediately hands over to Safari.

So my question is: Is there any way to achieve the desired behaviour?