Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal Links don't redirect the user to my app when tapped

I implemented Universal Links in my app, and it works like charm. But after the iOS 9.2 Update it stopped working.

When the app is already installed, and I tap on the link which in iOS9.1 open my app, in iOS9.2 it isn't.

Does anyone have the same problem?

like image 752
gran33 Avatar asked Sep 25 '22 23:09

gran33


1 Answers

My problem was an old format for the apple-app-site-association.

The old format was:

{
    "applinks": {
        "apps": [],
        "details": {
            "1234ABCDE.com.app.myapp": {
                "paths": [
                    "*"
                ]
            }
        }
    }
}

Update the format fixed the problem, and the new format is:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "1234ABCDE.com.app.myapp",
                "paths": ["*"]
            }
        ]
    }
}

Can check if the format is right here: https://search.developer.apple.com/appsearch-validation-tool/ If it says: recommended - old format, so it won't work on iOS9.2, So update to the new format.

Hope it help someone.

like image 198
gran33 Avatar answered Oct 16 '22 21:10

gran33