三星消息应用程序不会深入链接到我的应用程序
问题描述:
我有一个应用程序,每当我收到一个特定格式的短信时都能启动,它在使用Android库存消息应用程序时正常工作,但在测试时用他们的消息应用程序,并单击链接三星设备,它不会启动我的应用程序,而是试图打开的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>
任何人都知道任何解决这个?任何帮助表示赞赏。
答
添加到您的意图过滤器的自动验证象下面这样:
<intent-filter android:autoVerify="true">
你有过任何这方面的运气?这里有一个类似的问题:https://stackoverflow.com/questions/42702503/deeplinking-in-samsung-messaging-app-with-built-in-browser –