Trigger a keep alive attempt when returning from background.
This commit is contained in:
parent
aa1be3f1c5
commit
c7bfda216a
@ -172,7 +172,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)appEnteredForeground {
|
- (void)appEnteredForeground {
|
||||||
|
// Revalidate first to check if we should be in the timeout state.
|
||||||
[self revalidateSessionTimestamp];
|
[self revalidateSessionTimestamp];
|
||||||
|
[self sendKeepAliveToServer:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)invalidateSession:(void (^ __nullable)(MVMCoreErrorObject * _Nullable error))completion {
|
- (void)invalidateSession:(void (^ __nullable)(MVMCoreErrorObject * _Nullable error))completion {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user