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
Pamela Hill
01/08/2024, 8:43 AM
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
Stephen White
01/08/2024, 3:00 PM
Yeah for sure, was about to do just that, but thought I’d ask first. I’ll post the code when done..