【问题标题】:'type' word can not be appended as query strings on branch.io deeplink“类型”字不能作为查询字符串附加到 branch.io 深层链接
【发布时间】:2017-11-20 09:46:49
【问题描述】:

我尝试在 branch.io 深层链接上附加查询字符串,以将数据从链接传递到应用程序。

测试是这样的:

https://example.app.link?type=123&hello=world

但在 Android 中,'type' 参数被删除,不像 'hello'

这是 Intent 的转储:

[branch_data={"~id":"0","+url":"https://example.app.link/?hello=123","hello":"123","~creation_source":6,"+domain":"示例。 app.link","+click_timestamp":1511169927,"+clicked_branch_link":true,"+match_guaranteed":true,"+is_first_session":true}]

我假设'type'这个词是保留的,还有其他类似的关键字吗?

有没有办法使用“类型”字作为参数?

【问题讨论】:

    标签: android branch.io


    【解决方案1】:

    来自Branch.io这里的Amruta:

    正如您所猜测的,type 关键字是保留的,因此不能用作自定义查询参数。不幸的是,没有办法解决这个问题。

    这里是保留关键字列表

    'iframe_src', 'has_app', 'app_id', 'data', 'tags', '~tags', 'channel', '~channel', 'feature', '~feature', 'stage', '~stage', 'campaign', '`~campaign', 'type', 'duration', 'click', 'callback', 'post_data', 'branch_key', '$journeys_title', '$journeys_description', '$journeys_icon_image_url', '$journeys_reviews'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-08
      • 2013-05-02
      • 2021-09-06
      相关资源
      最近更新 更多