React Native Bypass power button password for Android only
Using npm:
npm install react-native-bypass-keyguard
or using yarn:
yarn add react-native-bypass-keyguard
Check out the documentation website.
import {
showOverKeyguard,
clearShowOverKeyguard,
} from 'react-native-bypass-keyguard';
// ...
React.useEffect(() => {
showOverKeyguard();
return () => {
clearShowOverKeyguard();
};
}, []);
See the contributing guide to learn how to contribute to the repository and the development workflow.
To keep this library maintained and up-to-date please consider follow it on GitHub