菜鸟教程小白 发表于 2022-12-11 20:12:18

ios - iPhone不断发送apple-site-association请求


                                            <p><p>不确定这里是否适合问这个问题,如果不是,抱歉。</p>

<p>今天我将我的 iPhone 设置为使用 Fiddler 作为代理,然后看到它向/.well-known/apple-site-association 发出应用程序请求。</p>

<p>我知道这是有目的的,但奇怪的是它不断向许多应用程序发送相同的请求(对于像 Tripadvisor 这样的应用程序的每个国家域),并且像无限循环一样。一次又一次地针对相同的应用程序和域,并且不会停止这样做。我以前也看到过一次。当我重新启动手机时,它会停止。</p>

<p> <a href="/image/No6le.jpg" rel="noreferrer noopener nofollow"><img src="/image/No6le.jpg" alt="Screenshot for requests"/></a> </p>

<p>这可能是什么原因?</p>

<p>非常感谢。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>iPhone 发送这些请求以从每个域下载文件,这会告诉 iPhone 哪些应用程序支持哪些通用链接。
如果您从以下网址查看说明,您可以看到这家公司有两个应用程序支持以下网址,可以直接在应用程序内打开,而不是重定向到网页。</p>

<p>因此,如果您在手机上的任何地方遇到链接“www.ixigo.com/flights”(让我们在 whatsapp 中的消息中说),iOS 将立即打开应用程序,因为应用程序支持这些 url。</p>

<p>同样,如果一个APP支持多个域名,iOS会多次点击并下载该应用支持的所有url。
<a href="https://www.ixigo.com/apple-app-site-association" rel="noreferrer noopener nofollow">https://www.ixigo.com/apple-app-site-association</a> </p>

<pre><code>{
&#34;applinks&#34;: {
    &#34;apps&#34;: [],
    &#34;details&#34;: [
      {
         &#34;appID&#34;: &#34;6WCD67RXUP.com.ixigo.travel&#34;,
         &#34;paths&#34;: [
            &#34;/flights&#34;,
            &#34;/hotels&#34;,
            &#34;/holiday-tour-packages&#34;,
            &#34;/holiday-tour-packages&#34;,
            &#34;/restaurants&#34;,
            &#34;/ixigoer&#34;,
            &#34;/near-me&#34;,
            &#34;/send-enquiry&#34;,
            &#34;/ixigomoney&#34;
          ]
      },
      {
      &#34;appID&#34;: &#34;6WCD67RXUP.com.ixigo.trains&#34;,
      &#34;paths&#34; : [
          &#34;/trains&#34;,
          &#34;/search/result/train/*&#34;
      ]
      }
    ]
}
}
</code></pre></p>
                                   
                                                <p style="font-size: 20px;">关于ios - iPhone不断发送apple-site-association请求,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/50532809/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/50532809/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - iPhone不断发送apple-site-association请求