Provides some utility methods from Activity class to enable showing it on locked screen and keeping screen awake on Android.
npm install react-native-activity-utilsyarn add react-native-activity-utilsimport{setFlags}from'react-native-activity-utils';// ...awaitsetFlags({turnScreenOn: true,showWhenLocked: true,keepScreenOn: true});See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library