Is there a KMM lib or pattern to abstract Android's
Service
and the iOS equivalent to keep an app running in the background with UI closed?
đź‘€ 1
k
kpgalligan
10/12/2022, 4:32 PM
I don’t think iOS really has a direct equivalent. Running in the background is kind of a special situation, if I understand it correctly.
s
Sam
10/12/2022, 4:36 PM
Doubt it, those things are very intrinsically hooked into the OS. If it were me I think I'd implement them separately and then within the services call out to KMM code
n
Neil
10/12/2022, 4:55 PM
Thanks.
I've been reading up, very specific background things are allowed. I'm trying to do an alarm/timer which is not on the list.
Not a kotlin problem though, I'll keep digging :-)