react-native-awake
v0.1.5
Published
keeps your screen awake
Readme
react-native-awake
keeps your screen awake
Installation
npm install react-native-awakeUsage
just call inside of component that you want to keep awake
import { useAwake } from 'react-native-awake';
// ...
/**
* useAwake hook will keep the screen awake for the duration of the component's lifecycle
*/
useAwake();Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
