只有在 iOS 上清除 Safari 历史记录和缓存数据后,Branch IO Deep Linking 才起作用
Branch IO Deep Linking works only after I clear the Safari history and cache data on iOS
我正在尝试使用 Unity Branch SDK 向我现有的应用程序添加共享功能。
我从 Branch SDK (Unity) 的 initSession
函数中检索自定义数据。
void Start()
{
Branch.initSession(CallbackWithBranchUniversalObject);
}
void CallbackWithBranchUniversalObject(BranchUniversalObject buo,
BranchLinkProperties linkProps,
string error)
{
string senderDeviceID = linkProps.controlParams["$deviceID"];
}
initSession
函数似乎工作了几次,但它 returns 空 BranchUniversalObject
JSON 和 BranchLinkProperties
JSON 之后。经过几天的努力,我发现问题出在 Safari 历史记录和缓存数据上。当我清除 Safari 历史记录和缓存数据时,initSession
功能再次按预期运行,我可以从 Branch deep link.
检索自定义数据
Safari 历史记录和缓存数据如何影响 Branch deep link?
BranchUniversalObject
JSON 和 BranchLinkProperties
JSON 为空的问题怎么解决?
多次卸载并重新安装该应用程序通常会导致浏览器缓存无法根据应用程序的当前状态进行刷新。
请同时检查 AASA 文件以了解设备的当前状态:https://help.branch.io/developers-hub/docs/ios-troubleshooting#section-validate-if-aasa-file-successfully-downloaded
此处可能的解决方案:
- 卸载应用程序
- 清除浏览器缓存
- 重启设备
- 重新安装应用程序
您也可以提交您的查询here。
我正在尝试使用 Unity Branch SDK 向我现有的应用程序添加共享功能。
我从 Branch SDK (Unity) 的 initSession
函数中检索自定义数据。
void Start()
{
Branch.initSession(CallbackWithBranchUniversalObject);
}
void CallbackWithBranchUniversalObject(BranchUniversalObject buo,
BranchLinkProperties linkProps,
string error)
{
string senderDeviceID = linkProps.controlParams["$deviceID"];
}
initSession
函数似乎工作了几次,但它 returns 空 BranchUniversalObject
JSON 和 BranchLinkProperties
JSON 之后。经过几天的努力,我发现问题出在 Safari 历史记录和缓存数据上。当我清除 Safari 历史记录和缓存数据时,initSession
功能再次按预期运行,我可以从 Branch deep link.
Safari 历史记录和缓存数据如何影响 Branch deep link?
BranchUniversalObject
JSON 和 BranchLinkProperties
JSON 为空的问题怎么解决?
多次卸载并重新安装该应用程序通常会导致浏览器缓存无法根据应用程序的当前状态进行刷新。 请同时检查 AASA 文件以了解设备的当前状态:https://help.branch.io/developers-hub/docs/ios-troubleshooting#section-validate-if-aasa-file-successfully-downloaded
此处可能的解决方案:
- 卸载应用程序
- 清除浏览器缓存
- 重启设备
- 重新安装应用程序
您也可以提交您的查询here。