iOS universal links: excluded path opens in my app

Hello.

Here is my AASA file (my appID changed):

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appIDs": [ "A123B4567C.app.myapp.tool" ],
                "components": [
                    { "/": "/en", "exclude": true },
                    { "/": "/en/*", "exclude": true },
                    { "/": "/workspace/*", "exclude": true },
                    { "/": "*" }
                ],
                "paths": [ "NOT /en", "NOT /en/*", "NOT /workspace/*", "*" ]
            }
        ]
    }
}

I need to open all links with my app except those with excluded flag.

When I open 'right' links, my app opens them (that's great).

When I open excluded link (e.g. https://myapp.app/workspace/personal) Safari opens it (that's great) but then the app is launched (that's what not expected).

What I already checked:

  • added the old "paths" property (it wasn't there originally)
  • rebooted my device
  • reinstalled my app from the TestFlight then from the AppStore
  • asked ChatGPT
  • used AASA validator (branch.io one)
  • cleared Safari cache
  • checked my links for redirects

What else can I check? Thanks.

Replies

Hi @Trand , if you're still having this problem, please respond here with your App ID so I can look further into your issue!