The Branch Unity SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
Add support for delayed native init to account for slow C# runtime startup.
Motivation
Platforms such as Unity and React Native startup slowly compared to native code. This can result in install events that happen prior to any client C# code being run. We've added a startup cache that delays init until the C# notifies the underlying SDK that it's ready.
The branch.json fix also allows logging to be enabled via config rather than in native code.
Type Of Change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
Testing Instructions
In your test app add Assets/StreamingAssets/branch.json
Reference
SDK-1818 and SDK-1817
Summary
Add support for delayed native init to account for slow C# runtime startup.
Motivation
Platforms such as Unity and React Native startup slowly compared to native code. This can result in install events that happen prior to any client C# code being run. We've added a startup cache that delays init until the C# notifies the underlying SDK that it's ready.
The branch.json fix also allows logging to be enabled via config rather than in native code.
Type Of Change
Testing Instructions
In your test app add
Assets/StreamingAssets/branch.json
In your C# code add the following prior to init.
Prior to this update, the install event will not include the request metadata set here. While the updated code will include the metadata.
cc @BranchMetrics/saas-sdk-devs for visibility.