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

Branch returns session not started from branch link click when app goes to split screen #1052

Open
pundirAbhishek opened this issue Mar 14, 2023 · 0 comments

Comments

@pundirAbhishek
Copy link

pundirAbhishek commented Mar 14, 2023

Describe the bug

I opened the app from the branch link and as per the documentation, initialised the Branch session in the onStart of the launcher activity, and before processing the branch data, i am currently showing an onboarding workflow for the user which is a fragment in the launcher activity itself.
But when i change the app configuration to split screen mode while on the onboarding fragment i have handled that we don't reinitialise the branch session again, but still if i query the branch instance to get the latest referring params, branch return {"+clicked_branch_link":false,"+is_first_session":false}
Due to which i am not able to fetch the branch data and redirect the user accordingly.

The same is happening when we put the app in the background and then bring back to the foreground.

Steps to reproduce

  1. Open the app.
  2. Land on the launcher activity on which we showed an onboarding fragment.
  3. Change the configuration of the app to split screen
  4. Get the latest referring params from the branch
  5. You will observe that the params we are getting are not correct.

Expected behavior

The branch session should return the correct referring params according to the branch deeplink.

SDK Version

5.2.0

Make and Model

Any Device

OS

All OS Versions

Additional Information/Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant