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

Url generated with Branch.getShortUrl only works for first user who clicks it #219

Open
mikhailb1990 opened this issue Jul 13, 2024 · 0 comments

Comments

@mikhailb1990
Copy link

Describe the bug

I am using the Branch UnitySDK release 2.0.0 with Unity 2021.3.5. I create Branch share links via Branch.getShortUrl and then using the NativeShare unity plugin to allow users to share the link. I add "referrer_id" as custom metadata. Now when User A shares the link with 2 users, User B and User C, if User B clicks the link first, installs the app and opens it, they receive the deep link data correctly. However, after that, User C clicks the link, installs the app, but on opening it no deep link data is received even on first app open. In fact the initSession callback doesn't even get called.

Steps to reproduce

  1. Generate a url with custom metadata using getShortUrl
  2. Share the url with multiple people
  3. Get one person to click the link and install the app and open it and log the received metadata in the initSession callback
  4. Get another person to click the same link, install the app and try to check logs - no log will be displayed

Expected behavior

I expected the link would provide the correct metadata to all users who received and clicked on it and installed the app

SDK Version

2.0.0

Unity Version

2021.3.5

Make and Model

iPhone 15

OS

iOS 17.5.1

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