2017-08-08 26 views
1

我有一個應用程序,每當我收到一個特定格式的短信時都能啓動,它在使用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> 

任何人都知道任何解決這個?任何幫助表示讚賞。

+0

你有過任何這方面的運氣?這裏有一個類似的問題:https://stackoverflow.com/questions/42702503/deeplinking-in-samsung-messaging-app-with-built-in-browser –

回答

0

添加到您的意圖過濾器的自動驗證象下面這樣:

<intent-filter android:autoVerify="true"> 
相關問題