菜鸟教程小白 发表于 2022-12-13 04:10:44

ios - 两个应用共享同一个通用链接


                                            <p><p>我在同一个 firebase 项目下有两个应用,它们共享相同的深层链接</p>

<p>如果多个应用程序可以使用同一个通用链接,操作系统如何处理链接?如何选择要打开的应用来处理某些页面?</p>

<p>例如,两个应用程序共享相同的通用链接 <a href="https://xxx.app.goo.gl" rel="noreferrer noopener nofollow">https://xxx.app.goo.gl</a>
如何识别打开用户或管理器应用?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>根据<a href="https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html" rel="noreferrer noopener nofollow">Apple</a> ,这取决于您的 AASA 文件的顺序。</p>

<blockquote>
<p>The order of the dictionaries in the array determines the order the system follows when looking for a match, so you can specify an app to handle a particular part of your website.</p>
</blockquote>

<p>AASA 文件中首先列出的应用程序将优先。您可以通过查看 AASA 端点来检查:<a href="https://xxx.app.goo.gl/apple-app-site-association" rel="noreferrer noopener nofollow">https://xxx.app.goo.gl/apple-app-site-association</a> </p>

<p>您还可以指定要单独处理的某些路径,但如果两个应用程序共享相同的路径,则将打开 AASA 中第一个列出的路径。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 两个应用共享同一个通用链接,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/50124528/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/50124528/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 两个应用共享同一个通用链接