ios-branch-sdk-spm
ios-branch-sdk-spm copied to clipboard
initSessionWithLaunchOptions being called twice
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
- add a debugger on initSessionWithLaunchOptions
- click on a branch link
- 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