You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added API - `- (void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel)level resetSession:(BOOL)resetSession` to provide an option to disable resetting session.
- Remove silent SDK initialization - initSafetyCheck removed.Now APIs will return or log BNCInitError error.
- Added @synchronized(self) around all 5 init status checks to ensure it waits for any in-progress initSession code (which also uses @synchronized(self)) to finish and update the status before evaluating.
[[BranchLogger shared] logWarning:@"Branch SDK is not initialized, cannot send this request. Please intialize session before calling this API."error:error];
[[BranchLogger shared] logWarning:@"Branch SDK is not initialized, cannot request LATD. Please intialize session before calling this API."error:error];
[[BranchLogger shared] logWarning:@"Branch SDK is not initialized, cannot create Spotlight URL. Please intialize session before calling this API."error:error];
[[BranchLogger shared] logWarning:@"Branch SDK is not initialized, cannot generate short URL. Please intialize session before calling this API."error:error];
[[BranchLogger shared] logWarning:@"Branch SDK is not initialized, cannot register view. Please intialize session before calling this API."error:error];
This method should only be invoked after initSession.
102
-
If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
103
-
As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
102
+
If invoked before initSession, the event will be dropped and a BNCInitError will be returned.
This version automatically caches and retries as necessary.
110
-
109
+
111
110
This method should only be invoked after initSession.
112
-
If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
113
-
As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
111
+
If invoked before initSession, the event will be dropped.
0 commit comments