How to intercept the unlock event?

Hi guys,
according to you, is it possible with Ionic2 to intercept the unlock event?
I mean when you unlock the mobile phone.

Thank you

cld

Isn’t the “onResume” event triggered if your app is in the foreground and the phone is unlocked?

Are you talking of this event?
https://ionicframework.com/docs/api/platform/Platform/#resume

It seems that it is triggered only when the App “pulls out from the background” so I don’t think that it is triggered when the user unlocks the phone, I’ll try.

1 Like