[英]How universal links work when app is installed with no internet connection
I have started reading about universal links
, Although I understood the working but couldn't figure this out on what will happen if the universal link is clicked without having an internet connection.我已经开始阅读有关
universal links
,虽然我了解工作原理,但无法弄清楚如果在没有互联网连接的情况下单击通用链接会发生什么。
I saw this behavior in the Twitter app and its opening even without the internet, But I couldn't understand the process behind the scenes.我在 Twitter 应用程序中看到了这种行为,即使没有互联网也能打开它,但我无法理解幕后的过程。 Can someone explain this to me
谁可以给我解释一下这个
... it's opening even without the internet, but I couldn't understand the process behind the scenes.
......即使没有互联网它也能打开,但我无法理解幕后的过程。
Once your project is configured to use Universal links, on the first load, the app downloads the rules from apple-app-site-association
JSON file.一旦您的项目被配置为使用通用链接,在第一次加载时,应用程序会从
apple-app-site-association
JSON 文件下载规则。
So the OS is able to resolve the clicked universal link without to be connected to the network.因此,操作系统无需连接到网络即可解析点击的通用链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.