2017-08-01 58 views
0

突然深度鏈接停止爲Facebook和Twitter工作。以前它工作正常。與branch.io站點的深度鏈接,用於Twitter和Facebook其他其他社交網絡,它工作正常

這裏是我的清單代碼:

<meta-data android:name="io.branch.sdk.BranchKey" android:value="live-key" /> 

<intent-filter android:autoVerify="true"> 
     <data android:scheme="05media.com" android:host="open" /> 
     <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" android:host="05media2.app.link" /> 
     <data android:scheme="https" android:host="05media2-alternate.app.link" /> 
    </intent-filter> 

而且我啓用自定義搜索和添加包名(com.pinmedia.mediaguide)。 清單中同樣使用 同時添加SHA256 Cert指紋。

我搜索了這一點,但沒有什麼可以爲我工作

請幫我這是爲什麼不爲Twitter和Facebook工作。對於其他它是從這裏Branch.io做工精細

回答

0

Amruta:

我看到你只有一個意圖過濾器是安裝兩個應用程序鏈接,並定期深層鏈接。而應該在你的Android清單定義兩個單獨的意圖過濾器如下:

<!-- Config for Deeplink --> 
<intent-filter> 
<data android:scheme="05media.com" /> 
<action android:name="android.intent.action.VIEW" /> 
<category android:name="android.intent.category.DEFAULT" /> 
<category android:name="android.intent.category.BROWSABLE" /> 
</intent-filter> 

<!-- Config for App Links --> 
<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:scheme="https" android:host="05media2.app.link" /> 
<data android:scheme="https" android:host="05media2-alternate.app.link" /> 
</intent-filter> 

您可以檢查出Android清單的示例應用程序在這裏的一個:https://github.com/BranchMetrics/Branch-Example-Deep-Linking-Branchster-Android/blob/master/app/src/main/AndroidManifest.xml#L34

如果繼續面對的問題我會建議寫信至:[email protected]。他們將能夠一對一地與你一起工作。

感謝Evan Groth的迴應。

+0

感謝您的努力,但這不會解決我的問題。結果是一樣的。 –