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-utils
yarn add react-native-activity-utils
import { setFlags } from 'react-native-activity-utils';
// ...
await setFlags({ 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