Need help, I’m making a screen locker app using React Native, and want to get an event when the android power button is pressed…
Thanks in advance..
Need help, I’m making a screen locker app using React Native, and want to get an event when the android power button is pressed…
Thanks in advance..
2
Answers
just only keycode power not show log the event when iam pressed, any solution for this?
You can use the react-native-keyevent package for react native.