发布
社区首页 >问答首页 >从Instagram访问时,Firebase动态链接未打开应用程序

从Instagram访问时,Firebase动态链接未打开应用程序
EN

Stack Overflow用户
提问于 2022-04-20 05:29:18
回答 1查看 1.3K关注 0票数 0

当从Instagram点击该链接时,Firebase动态链接不会打开该应用程序,它会打开PlayStore,而如果我使用WhatsApp、Chrome或message应用程序访问相同的链接,则会打开该应用程序并导航到我想要的特定位置。

已经在autoVerify=true文件中添加了AndroidManifest。

EN

回答 1

Stack Overflow用户

发布于 2022-04-20 06:25:55

您需要添加主机和方案的意图-过滤器请重新下面的代码或检查https://developer.android.com/training/app-links/deep-linking

代码语言:javascript
代码运行次数:0
复制
<intent-filter android:autoVerify="true">
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />

    <!-- Accepts URIs that begin with "http://www.example.com/gizmos" !-->
    <data android:scheme="http"
          android:host="www.example.com"
          android:pathPrefix="/gizmos" />
    <!-- note that the leading "/" is required for pathPrefix-->
</intent-filter>




<intent-filter android:autoVerify="true" >
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />

    <!-- Accepts URIs that begin with "example://gizmos" !-->
    <data android:scheme="example"
          android:host="gizmos" />

</intent-filter>
票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71934547

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档