Universal links doesn't work

回眸只為那壹抹淺笑 提交于 2019-12-10 10:28:35

问题


This is my apple-app-site-association file:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "paths": [
                    "*",
                    "\/doubanapp\/*",
                    "\/authorHome"
                ],
                "appID": "KV99XUUJ3U.com.moer.MoerFinance"
            }
        ]
    }
}

I already set Xcode Associated Domains, this is my screenshot:

I use https://search.developer.apple.com/appsearch-validation-tool/ test my domains,but get error:

Error no apps with domain entitlements The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update.

If my app must be released then wait for 48 hours?


回答1:


There is no requirement that your app be live in the App Store for Universal Links to work.

However, looking at https://moer.jiemian.com/apple-app-site-association and https://moer.cn/apple-app-site-association, both are serving invalid SSL certificates. iOS will reject these, which breaks Universal Links.

I'll put in a shameless plug here for Branch.io (full disclosure: I'm on the Branch team), in case you're just looking for simple deep linking and don't want to deal with these set up details.



来源:https://stackoverflow.com/questions/40018565/universal-links-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!