代码之家  ›  专栏  ›  技术社区  ›  toto_tata

branch.io(android sdk):我应该在<data android:scheme=“androidexample”/>中设置什么?

  •  0
  • toto_tata  · 技术社区  · 6 年前

    我正试图在我的项目中实现branch.io。

    据医生说: https://docs.branch.io/pages/apps/android/

    我需要把“AndroidExample”换成:

    <!-- Branch URI Scheme -->
                <intent-filter>
                    <data android:scheme="androidexample" />
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                </intent-filter>
    

    按仪表板中的值。我不知道在我的仪表板上哪里可以找到这个值。

    你能解释一下吗?

    1 回复  |  直到 6 年前
        1
  •  1
  •   Jackie Choi    6 年前

    杰基从这里来。

    请用您自己的Android方案替换“AndroidExample”。此值应与您在仪表板链接设置页上提供的值匹配:

    enter image description here

    最好的,

    推荐文章