Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the SDK state clear happened with the old close call #1324

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

echo-branch
Copy link
Contributor

@echo-branch echo-branch commented Nov 28, 2023

Reference

INTENG-19489 fix organic warm open

Summary

SDK init status was cleared by the close call, with it's removal we need to clear it elsewhere to maintain previous behavior.

Motivation

Restore previous behavior around organic opens.

Type Of Change

  • Bug fix (non-breaking change which fixes an issue)

Testing Instructions

  1. Run a test app with the debugger attached.
  2. See install or open on app run.
  3. Background the app.
  4. Foreground the app. Notice no network call to init.

Repeat with this change, and step 4 will have a network call to init.

cc @BranchMetrics/saas-sdk-devs for visibility.

@nsingh-branch
Copy link
Contributor

nsingh-branch commented Nov 28, 2023

The fix looks good to me. However, it looks like this branch is using the old testbed branch key so the requests are failing. I'll push a commit to fix it since i just added it locally anyways.

@NidhiDixit09
Copy link
Collaborator

Code looks good to me. I can see opens when app is foregrounded.

@echo-branch echo-branch merged commit 159d3a0 into Release3.0.1 Nov 28, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants