I am aware of Stage.ACTIVATE and Stage.DEACTIVATE but this will fire when the app is in background.
Is there a way to know when the device screen is locked, from the background running app and from the foreground?
I am aware of Stage.ACTIVATE and Stage.DEACTIVATE but this will fire when the app is in background.
Is there a way to know when the device screen is locked, from the background running app and from the foreground?
Copyright © 2021 Jogjafile Inc.
For screen is locked :
For opening application back :