expo-keep-awake
Provides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively.
Last updated 2 years ago by exponent .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install expo-keep-awake 
SYNC missed versions from official npm registry.

expo-keep-awake

Provides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-keep-awake

Configure for iOS

Run npx pod-install after installing the npm package.

Configure for Android

No additional set up necessary.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Current Tags

  • 59.0.0-canary-20261124163019-81831ea13cae6caef69ca6e9addc66aa203c6225                                ...           canary (7 days ago)
  • 55.0.5-canary-20260429-a5e59cf                                ...           canary-sdk-55 (7 months ago)
  • 56.0.4-canary-20260701-9100865                                ...           canary-sdk-56 (5 months ago)
  • 58.0.4                                ...           latest (20 days ago)
  • 58.0.3                                ...           next (2 months ago)
  • 12.8.2                                ...           sdk-50 (3 years ago)
  • 13.0.2                                ...           sdk-51 (3 years ago)
  • 57.0.2                                ...           sdk-57 (3 months ago)

244 Versions


© 2010 - cnpmjs.org x YWFE | Home | YWFE