我已经在我的应用程序中添加了一个深度链接支持,它在gmail,消息应用程序中运行良好。
但在facebook上,它打开的是浏览器,而不是应用程序。
<activity
android:name="..MyActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https"/>
<data android:host="mywebsite.com"/>
<data android:pathPrefix="/screen1"/>
<data android:pathPrefix="/screen2"/>
</intent-filter>
</activity>我是否需要添加一些额外的东西,使其在facebook上工作。
发布于 2021-12-01 21:25:51
支持从FB打开应用程序的最好方法是支持FB Applinks - https://developers.facebook.com/docs/applinks/
这将为您提供直接导航到您的应用程序的选项,以防它已安装。
https://stackoverflow.com/questions/70189868
复制相似问题