[英]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. 我的服务器根目录中有apple-app-site-association文件,因此在我的iOS Safari浏览器中显示了横幅,但是当我从服务器中删除该文件,清除了浏览器历史记录,然后也重置了手机,但仍然收到了横幅。
Note : changed my app ID in the file, but not reflects in banner. 注意:已在文件中更改了我的应用ID,但未在横幅中显示。
https://example.com/apple-app-site-association
apple-app-site-association file : 苹果应用程序站点关联文件:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "123456789.com.abc.example",
"paths": [ "*" ]
}
]
}
}
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. 在ios应用程序的构建过程中,它将从关联的域中下载apple-app-association-file并将其保存在应用程序中以进行深层链接。
Once you get the new build with the updated apple-app-association-file your problem will be solved. 使用更新的apple-app-association-file获得新版本后,您的问题将得到解决。
To remove the banner from all the pages you can just try below code: 要从所有页面中删除横幅,您可以尝试以下代码:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "your app id here",
"paths": [
"NOT /*"
]
}
]
} }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.