Post

Replies

Boosts

Views

Activity

Background timer for session logout
As the os provides only about 30 sec with func beginBackgroundTask(expirationHandler handler: (() - Void)? = nil) - UIBackgroundTaskIdentifierafter which the app is suspended. Is there a way to run the timer in background for 3 minutes to logout from the server session? or is there any other possible approach to get an event after 3 minutes to perform logout while the app is in background?
2
0
1.1k
Apr ’21