Skip to content

Commit

Permalink
Merge pull request #1324 from BranchMetrics/INTENG-19489-Fix-organic-…
Browse files Browse the repository at this point in the history
…open-on-warm-start

the SDK state clear happened with the old close call
  • Loading branch information
echo-branch authored Nov 28, 2023
2 parents 8e353a9 + aa1259f commit 159d3a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed/Branch-TestBed-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<key>branch_key</key>
<dict>
<key>live</key>
<string>key_live_feebgAAhbH9Tv85H5wLQhpdaefiZv5Dv</string>
<string>key_live_hcnegAumkH7Kv18M8AOHhfgiohpXq5tB</string>
<key>test</key>
<string>key_test_hdcBLUy1xZ1JD0tKg7qrLcgirFmPPVJc</string>
</dict>
Expand Down
1 change: 1 addition & 0 deletions BranchSDK/Branch.m
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,7 @@ - (void)applicationDidBecomeActive {

- (void)applicationWillResignActive {
if (!Branch.trackingDisabled) {
self.initializationStatus = BNCInitStatusUninitialized;
[self.requestQueue persistImmediately];
[BranchOpenRequest setWaitNeededForOpenResponseLock];
BNCLogDebugSDK(@"Application resigned active.");
Expand Down

0 comments on commit 159d3a0

Please sign in to comment.