Closed echo-branch closed 5 months ago
Attention: Patch coverage is 33.33333%
with 10 lines
in your changes are missing coverage. Please review.
Project coverage is 51.16%. Comparing base (
4152af5
) to head (2009c84
). Report is 13 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
Sources/BranchSDK/Branch.m | 33.33% | 9 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does the latest Allow init calls to come in late. commit do?
What does the latest Allow init calls to come in late. commit do?
Added comment to code view. Still researching if this change is correct.
Reference
SDK-2309 Cache link data when initialization is deferred
Summary
On React Native we had a caching mechanism to store links until the JS layer was ready. This is not working properly when using the optional deferred init on iOS. This moves the caching to the native iOS layer.
Motivation
Fix cold link open when using deferred init on iOS with React Native
Type Of Change
Testing Instructions
Enable deferred init with the
branch.json
Add a delayednotifyNativeToInit
Install app, but make sure it is fully closed Open the app with a universal linkWithout this change the link will be ignored. With this change the link will be used with the deferred init.
Also need to test this on React Native.
cc @BranchMetrics/saas-sdk-devs for visibility.