【发布时间】:2016-09-15 20:56:50
【问题描述】:
我是 branch.io 的新手,但它让我发疯。
我刚刚在 branch.io 仪表板中设置了我的链接,如下所示:
Android URI scheme: http://www.foo.com/bar://
还有回退到谷歌游戏商店。
As well as the default URL http://www.foo.com
在我的 Android 清单中,我输入了这个
<meta-data android:name="io.branch.sdk.BranchKey" android:value="key_live_xxxxxxxxxxxxxxxxx" />
这是我的主要活动
<intent-filter>
<data android:scheme="http://www.foo.com/bar" android:host="open" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
该链接仍未在 Android 和 Google Play 中打开。
奇怪的是,这个链接:https://foo.app.link/xxxxxx 在 Google play 中的正确应用页面上打开,但与我的 branch.io 设置中的内容没有任何共同之处。
对为什么 URI 方案背后有两种不同的逻辑感到困惑。 感谢您的帮助!
【问题讨论】: