Universal Links

Hi , we are trying to setup universal links in our app , currently , we have setup a local env that is working , we are using ngrok to exposes local server and the universal links are working perfectly , but when i try to use it with our Domain it dose not open the app ,

the domain is https://example.com/stripe/apple-app-site-association and in xcode i have the associated domain set as `applinks:example.com

this is the apple-app-site-association 
{
  "applinks": {
    "details": [
      {
        "appID": "example.example",
        "paths": [
          "*"
        ]
      }
    ]
  },
  "webcredentials": {
    "apps": [
      "example.example"
    ]
  }
}
```
in local env the domain is different https://example.com/apple-app-site-association 

any advice on how to solve this? 

If your entitlements file specifies domain example.com, then your AASA file must be available at this server-relative path:

    https://example.com/.well-known/apple-app-site-association

The path you are using locally (https://example.com/apple-app-site-association ) is a legacy thing that may work on some devices, but you should switch to using the .well-known path.

Universal Links
 
 
Q