nrs jayaram
nrs jayaram

Reputation: 3448

Apple-app-site-association : banner displays while no file in server

I have apple-app-site-association file in my server root directory, so getting banner on my iOS safari browser, but when I remove the file from server, cleared my browser history, then reset my phone too, but still getting the banner.

Note : changed my app ID in the file, but not reflects in banner.

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

apple-app-site-association file :

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "123456789.com.abc.example",
                "paths": [ "*" ]
            }
        ]
    }
}

Upvotes: 0

Views: 571

Answers (1)

Rahul Kushwaha
Rahul Kushwaha

Reputation: 43

Your are getting the banner still because you haven't build the app again. During the build process of the ios app it downloads the apple-app-association-file from the asociated domain and save it in the app for deeplinking purpose.

Once you get the new build with the updated apple-app-association-file your problem will be solved.

To remove the banner from all the pages you can just try below code:

{
"applinks": {
    "apps": [],
    "details": [
        {
            "appID": "your app id here",
            "paths": [
                "NOT /*"        
            ]
        }
    ]
} }

Upvotes: 2

Related Questions