We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04b2aa2 + bb22cdd commit d2fbd60Copy full SHA for d2fbd60
ios/Branch-SDK/Branch-SDK/Branch.m
@@ -1820,6 +1820,7 @@ - (void)applicationDidBecomeActive {
1820
}
1821
1822
- (void)applicationWillResignActive {
1823
+ [self clearSessionParams];
1824
[self callClose];
1825
[self.requestQueue persistImmediately];
1826
[BranchOpenRequest setWaitNeededForOpenResponseLock];
@@ -1846,6 +1847,11 @@ - (void)callClose {
1846
1847
1848
1849
1850
+- (void)clearSessionParams {
1851
+ // Reset session params
1852
+ self.preferenceHelper.sessionParams = nil;
1853
+}
1854
+
1855
#pragma mark - Queue management
1856
1857
- (NSInteger) networkCount {
0 commit comments