Trigger a keep alive attempt when returning from background.

This commit is contained in:
Kyle Matthew Hedden 2022-12-28 10:54:31 -05:00
parent aa1be3f1c5
commit c7bfda216a

View File

@ -172,7 +172,9 @@
}
- (void)appEnteredForeground {
// Revalidate first to check if we should be in the timeout state.
[self revalidateSessionTimestamp];
[self sendKeepAliveToServer:NO];
}
- (void)invalidateSession:(void (^ __nullable)(MVMCoreErrorObject * _Nullable error))completion {