简体   繁体   中英

apple-app-site-association file doesnt work with latest changes

Earlier AASA file was 
{
    "activitycontinuation": {
        "apps": [
            "APPID.BUNDLEID",
        ]
    },
    "applinks": {
        "apps": [],
        "details": [{
                "appID": "APPID.BUNDLEID",
                "paths": ["/join/*"]
            }
        ]
    }
}

It was working fine. Later URL change came and now we have /j/ instead of /join/. We changed AASA file to, 

{
    "activitycontinuation": {
        "apps": [
            "APPID.BUNDLEID",
        ]
    },
    "applinks": {
        "apps": [],
        "details": [{
                "appID": "APPID.BUNDLEID",
                "paths": ["/j/*"]
            }
        ]
    }
}

Issue is deep linking works with /join/ path only and not with the new path /j/. 

Associate domain has value as *.domain.co . We deleted the app from the device and installed it again. Restarted the device, but still deep link works with old URL only. If AASA is taken from cache then how to clear it?

When Dev App was installed from the app center, it picked up a newly changed apple-app-site-association file. Which fixed the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM