https://kotlinlang.org logo
a

Ahsan Ullah Rasel

07/14/2023, 12:24 AM
Is there any library for KMM that can be used to schedule works? Like WorkManager in Android. Suppose I want to update my data from server in every hour regardless of application is running or not. In Android, I can achieve it using WorkManager but how about KMM?
👍 1
x

xxfast

07/14/2023, 5:36 AM
A while ago i attempted to create a common abstraction for this - but gave up because they don't really work the same way on both platforms. For ios we have few different apis but the one you will probably want is the BGTaskScheduler & BGAppRefreshTask
6 Views