ios-branch-sdk-spm icon indicating copy to clipboard operation
ios-branch-sdk-spm copied to clipboard

initSessionWithLaunchOptions being called twice

Open pyettra opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

Hello! Something very odd happing while calling initSessionWithLaunchOptions: - (void)initSessionWithLaunchOptions:(NSDictionary *)options andRegisterDeepLinkHandler:(callbackWithParams)callback { [self initSessionWithLaunchOptions:options isReferrable:YES explicitlyRequestedReferrable:NO automaticallyDisplayController:NO registerDeepLinkHandler:callback]; }

Whenever I try to open a branch link, the callback is being called twice. This happens if I have the app open on background or not. Right now, it's not having effects on the way I receive the branch link params, but the doubled calls are causing side effects on my UI.

Steps to reproduce

  1. add a debugger on initSessionWithLaunchOptions
  2. click on a branch link
  3. see initSessionWithLaunchOptions callback being called twice

Expected behavior

The initSessionWithLaunchOptions should only be called once

SDK Version

3.4.3

XCode Version

15.1

Device

iPhone 15 Plus

OS

15.0

Additional Information/Context

No response

pyettra avatar Jun 03 '24 20:06 pyettra

Bump, my team is also experiencing this issue

sleepygarden avatar Jun 28 '24 12:06 sleepygarden

This issue has been automatically marked as stale due to inactivity for 60 days. If this issue is still relevant, please respond with any updates or this issue will be closed in 7 days. If you believe this is a mistake, please comment to let us know. Thank you for your contributions.

github-actions[bot] avatar Aug 28 '24 00:08 github-actions[bot]

This issue has been closed due to inactivity. If this issue is still relevant, please reopen it or create a new one. Thank you for your contributions.

github-actions[bot] avatar Sep 04 '24 00:09 github-actions[bot]