Skip to content

Commit

Permalink
clear session params when session goes uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
gdeluna-branch committed Jul 20, 2023
1 parent b0ae65d commit 5d75fc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Branch-SDK/src/main/java/io/branch/referral/Branch.java
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ public static void setIsUserAgentSync(boolean sync){
void closeSessionInternal() {
clearPartnerParameters();
executeClose();
prefHelper_.setSessionParams(PrefHelper.NO_STRING_VALUE);
prefHelper_.setExternalIntentUri(null);
trackingController.updateTrackingState(context_); // Update the tracking state for next cold start
}
Expand Down

0 comments on commit 5d75fc2

Please sign in to comment.