当从Instagram点击该链接时,Firebase动态链接不会打开该应用程序,它会打开PlayStore,而如果我使用WhatsApp、Chrome或message应用程序访问相同的链接,则会打开该应用程序并导航到我想要的特定位置。
已经在autoVerify=true文件中添加了AndroidManifest。
发布于 2022-04-19 22:25:55
您需要添加主机和方案的意图-过滤器请重新下面的代码或检查https://developer.android.com/training/app-links/deep-linking。
<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>
https://stackoverflow.com/questions/71934547
复制相似问题