2017-08-01 42 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

感谢您的努力,但这不会解决我的问题。结果是一样的。 –

相关问题