So I have the following apple-app-site-association on my site, located at `stage.domain.com/apple-app-site-association`:

```
{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID": "TEAMID.application.id.goes.here",
        "paths": ["*"]
      }
    ]
  }
}

```

I've set my Associated Domains as `applinks:stage.domain.com`

But when I try to navigate to `stage.domain.com` in Safari, it doesn't register and I stay in the browser. Is there anything else I need to do? I know that I need to eventually set routing up in the app for various pages, but that isn't a necessary requirement is it? It should just pull up the app without anything else? Or am I missing something?

Also, my restoration handler:

```
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool {

    print("DEBUG GETS TO NSURL?")

    guard userActivity.activityType == NSUserActivityTypeBrowsingWeb,
        let url = userActivity.webpageURL

        else
    {return false}

    print("DEBUG GETS TO URL")

    return true
}

```

It gets to neither debug condition.
['https://Stackoverflow.com/questions/49951419', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/756566/']
If, when you access your site, it shows the universal links banner on top of the page, like this: <https://i.stack.imgur.com/ZSQGK.jpg>, you are doing it right.

If you click on Open, it should open the app. Then, if you try to click on a link to your website AFTER you opened your app through the banner, iOS should save your preferences and open the app directly, instead of going to Safari with the banner on top.

The way Universal Linking works, it does not allow the app to be opened by links without any consent of the user. Thus, the user must give permission at least one time before the app opens automatically.
Usually universal links end with `://`, so try using this URL for your example:
`applinks://stage.domain.com`.