Hi everyone!
In a KMM project targeting Android, iOS, and Desktop, I’m looking for the best way to handle periodic background sync — kind of like how we can use WorkManager on Android. Any suggestions?
k
Kyrylo
08/21/2025, 8:50 AM
i would use
expect/actual
and implement it in each platform
u
אליהו הדס
08/21/2025, 9:08 AM
WorkManager on android, BackgroundTasks on iOS and maybe cardiologist on desktop, yes you have to use expect actual
a
Abdo
08/21/2025, 9:52 AM
Thanks a lot for the suggestions 🙏🏻 @Kyrylo@אליהו הדס
+ I think that BackgroundTasks on IOS might not work as reliably due to iOS limitations on background execution ?
u
אליהו הדס
08/21/2025, 11:11 AM
@Abdo on ios it's the native solution, it's the one that gives the best results, and we will have to deal with the limitations of each platform, it's not a choice that is offered to us