微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

为什么自定义子域不适用于 branch.io

如何解决为什么自定义子域不适用于 branch.io

我在我的离子电容器 android 项目中集成了分支。使用分支为我们提供的链接域(例如:ibia3-alternate.app.link 和 ibia3.app.link),一切正常。我能够使用这些链接打开应用程序,并且延迟深度链接工作也没有任何问题。更改链接域以使用我的自定义子域 (app.example.com) 后。我按照分支文档中提到的步骤设置自定义子域 https://help.branch.io/using-branch/docs/advanced-settings-configuration#use-a-custom-subdomain

enter image description here

我验证了分支集成 IntegrationValidator.validate(MainActivity.this);

我看到每个测试都通过了,但是当我单击链接 https://app.example.com 时,它会打开应用程序,但不会将其视为分支链接。我在控制台输出中看到链接被视为 non_branch_link 并且 +clicked_branch_link 为 false

I/BranchSDK: Server returned: [a185e2bf82014186b6a25f427a9202e3-2021052721] Status: [200]; Data: {"session_id":"926570498342822864","identity_id":"926553464011860980","link":"https://app.example.com/a/key_test_oe3mq6j9k1eJqvePS8VIzdhlCFb3bYtF?%24identity_id=926553464011860980","data":"{\"+non_branch_link\":\"http://app.example.com\",\"+clicked_branch_link\":false,\"+is_first_session\":false}","device_fingerprint_id":"926243054573634765"}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。