Hi all. Is there any libraries out there that prov...
# multiplatform
x
Hi all. Is there any libraries out there that provides a common api for AndroidWorkManager and analogous api from ios (is it BackgroundTasks) ?
j
I asked WM team at Google about this. Sounded like they liked the idea do androidx WM potentially KMP. But dont know. Havent found a library share this yet. Would do a thin interface layer between iOS and Android yourself. I am intend try this myself soon hopefully. The APIs very similar it looks like. Often also input is quite basic to each job.
👍 1
x
had a crude attempt to do this a while ago - but apple's implementation doesn't behave exactly the same
The biggest difference I think is how on iOS it works more-or-less like a handle that gets invoked from the same process whereas androidx.work can spun up a different process.