Branch IO Deep Linking works only after I clear the Safari history and cache data on iOS
See original GitHub issueI’m trying to add a sharing feature to my existing app using Unity Branch SDK. I retrieve custom data from initSession function of Branch SDK (Unity).
void Start()
{
Branch.initSession(CallbackWithBranchUniversalObject);
}
void CallbackWithBranchUniversalObject(BranchUniversalObject buo,
BranchLinkProperties linkProps,
string error)
{
string senderDeviceID = linkProps.controlParams["$deviceID"];
}
But initSession function seems to work a few times but it returns empty BranchUniversalObject JSON and BranchLinkProperties JSON after that. After a few days of struggling, I found that Safari history and cache data causes the issue. When I clear the Safari history and cache data, initSession function works again as I expected and I can retrieve custom data from Branch deep link.
How do Safari history and cache data affect the Branch deep link? What should I do to fix the problem of empty BranchUniversalObject JSON and BranchLinkProperties JSON?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Branch IO Deep Linking works only after I clear the Safari ...
Uninstalling and reinstalling the app several times often results in browser cache not refreshing as per the App's current state.
Read more >iOS Troubleshooting - Branch Help
Click the Branch Link from Apple Notes and have it route through Safari. Click the call-to-action and ensure that the link is copied...
Read more >Deep links do not open the app - Branch Help
Deep links do not open the app · Make sure you are not pasting a deep link in the address bar (in most...
Read more >Safari error: "Safari cannot open this page because address is ...
You can clear your Safari cache (Settings > Safari > Clear History and Website Data) to remove the error. Alternatively, you can try...
Read more >How to Set Up Universal Links to Deep Link on Apple iOS
Instead of opening up Safari first when a link is clicked, iOS will check if a Universal Link has been registered for the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the information! I’m hoping to devote the next sprint to working through github issues.
Hi, I’m facing the same issue… do we know if the fix is prioritized to be in the roadmap? Thanks!