我有一个处理 Android 应用程序链接的应用程序。在 Android 上单击 Gmail native 应用程序中的链接时,我的应用程序会打开,但在 Skype 或 Facebook 中单击时,会打开网站而不是我的应用程序。
链接结构为:https://www.myhost.dk/applink/?data=data Skype 或 Facebook 等 Android 应用不支持深度链接吗?
这是我的 AndroidManifest.xml:
<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" />
<data
android:host="www.myhost.dk"
android:pathPrefix="/applink"
android:scheme="https" />
</intent-filter>
最佳答案
据我所知,Skype默认在Web View 中打开所有链接。要更改此行为,您可以导航至设置 -> 消息传递
,然后禁用 Android 设备上的在 Skype 中打开 Web 链接
按钮(或任何类似的设置,也许设置可能会略有不同)因设备而异)。
我还没有在 Facebook 上检查过这一点,但假设该行为可能与 Skype 类似。
关于Android 深层链接无法在 Skype 中打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62434742/