Hi everyone! Is there a way of hooking into backgr...
# multiplatform
s
Hi everyone! Is there a way of hooking into background/ foreground events, as on iOS and RN? I’ve tried using Lifecycle.Event and also essenty, but to no avail 😕 If anyone has a code snippet I’d be super happy..
p
I haven't tried it myself, but is it not possible to hook up a listener to those events in your android/ios code and call commonMain code from there?
s
Yeah for sure, was about to do just that, but thought I’d ask first. I’ll post the code when done..
1
🙌 1
👀 1