Samsung Messages应用程序不会深入链接到我的应用程序 [英] Samsung Messages app won't deep link into my app
问题描述
我有一个应用程序,能够在我收到某种格式的SMS时启动,该应用程序在使用Android stock Messages应用程序时可以正常运行,但是在使用其Messages应用程序的Samsung设备上进行测试并单击链接时,则可以正常运行,它不会启动我的应用程序,而是尝试打开Messages应用程序内的链接,该应用程序是AndroidManifest.xml上的当前实现
I have an app that has the ability to be launched whenever I receive an SMS with a certain format, it works correctly when using the Android stock Messages app but, when testing on a Samsung device using their Messages app and clicking a link, it won't launch my app but instead try and open the link inside the Messages app, current implementation on AndroidManifest.xml
<activity android:name="com.example.SMSInterceptor"
android:configChanges="keyboardHidden|orientation|screenSize">
<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="example.com" />
</intent-filter>
</activity>
有人知道对此有什么解决办法吗?感谢您的帮助.
Anyone know any solution to this? Any help is appreciated.
推荐答案
添加到您的意图过滤器中,如下所示进行自动验证:
add to your intent filter auto verify like below:
<intent-filter android:autoVerify="true">
这篇关于Samsung Messages应用程序不会深入链接到我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!