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 5 months ago by expo-bot .
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

  • 13.0.3-canary-20240719-83ee47b                                ...           canary (4 months ago)
  • 13.0.2                                ...           latest (6 months ago)
  • 13.0.2                                ...           next (6 months ago)
  • 12.8.2                                ...           sdk-50 (10 months ago)
  • 13.0.2                                ...           sdk-51 (6 months ago)

78 Versions

  • 13.0.3-canary-20240719-83ee47b                                ...           4 months ago
  • 13.0.3-canary-20240628-1ba8152                                ...           5 months ago
  • 13.0.3-canary-20240627-1402f4b                                ...           5 months ago
  • 13.0.3-canary-20240625-2333e70                                ...           5 months ago
  • 13.0.2                                ...           6 months ago
  • 13.0.1                                ...           7 months ago
  • 13.0.0                                ...           7 months ago
  • 0.0.1-canary-20240418-8d74597                                ...           7 months ago
  • 0.0.1-canary-20240415-cca04d8                                ...           7 months ago
  • 0.0.1-canary-20240415-0868fc4                                ...           7 months ago
  • 0.0.1-canary-20240411-55a0085                                ...           7 months ago
  • 0.0.1-canary-20240411-33a7dc1                                ...           7 months ago
  • 0.0.1-canary-20240406-a4950c7                                ...           7 months ago
  • 0.0.1-canary-20240405-cdfd9c1                                ...           7 months ago
  • 0.0.1-canary-20240404-e2b8743                                ...           7 months ago
  • 0.0.1-canary-20240328-24ecc5e                                ...           8 months ago
  • 0.0.1-canary-20240327-a7302d9                                ...           8 months ago
  • 0.0.1-canary-20240320-8a10e09                                ...           8 months ago
  • 0.0.1-canary-20240318-dd8f245                                ...           8 months ago
  • 0.0.1-canary-20240318-af634b1                                ...           8 months ago
  • 0.0.1-canary-20240318-53194f5                                ...           8 months ago
  • 0.0.1-canary-20240315-ce71005                                ...           8 months ago
  • 0.0.1-canary-20240308-6715875                                ...           8 months ago
  • 0.0.1-canary-20240305-e60019e                                ...           8 months ago
  • 0.0.1-canary-20240228-7cee619                                ...           9 months ago
  • 0.0.1-canary-20240222-c729a13                                ...           9 months ago
  • 12.8.2                                ...           10 months ago
  • 12.8.1                                ...           10 months ago
  • 0.0.1-canary-20240109-93608d8                                ...           10 months ago
  • 0.0.1-canary-20231205-250b31f                                ...           a year ago
  • 0.0.1-canary-20231130-c8a9bf9                                ...           a year ago
  • 0.0.1-canary-20231130-ede75a7-1                                ...           a year ago
  • 0.0.1-canary-20231130-ede75a7                                ...           a year ago
  • 0.0.1-canary-20231129-c0ec023                                ...           a year ago
  • 0.0.1-canary-20231125-d600e44                                ...           a year ago
  • 0.0.0-canary-20231123-1b19f96                                ...           a year ago
  • 12.8.0                                ...           a year ago
  • 12.7.0                                ...           a year ago
  • 12.6.0                                ...           a year ago
  • 12.5.0                                ...           a year ago
  • 12.4.1                                ...           a year ago
  • 12.4.0                                ...           a year ago
  • 12.3.0                                ...           a year ago
  • 12.2.0                                ...           a year ago
  • 12.1.0                                ...           2 years ago
  • 12.0.1                                ...           2 years ago
  • 12.0.0                                ...           2 years ago
  • 11.0.1                                ...           2 years ago
  • 11.0.0                                ...           2 years ago
  • 10.2.1                                ...           2 years ago
  • 10.2.0                                ...           2 years ago
  • 10.1.1                                ...           3 years ago
  • 10.1.0                                ...           3 years ago
  • 10.0.2                                ...           3 years ago
  • 10.0.1                                ...           3 years ago
  • 10.0.0                                ...           3 years ago
  • 9.3.0                                ...           3 years ago
  • 9.2.0                                ...           3 years ago
  • 9.1.2                                ...           4 years ago
  • 9.1.1                                ...           4 years ago
  • 9.1.0                                ...           4 years ago
  • 9.0.0                                ...           4 years ago
  • 8.4.0                                ...           4 years ago
  • 8.3.0                                ...           4 years ago
  • 8.2.1                                ...           4 years ago
  • 8.2.0                                ...           4 years ago
  • 8.1.0                                ...           5 years ago
  • 8.0.0                                ...           5 years ago
  • 7.0.0                                ...           5 years ago
  • 7.0.0-rc.0                                ...           5 years ago
  • 6.0.0                                ...           5 years ago
  • 6.0.0-rc.0                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 5.0.0-rc.1                                ...           5 years ago
  • 5.0.0-rc.0                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 3.0.0                                ...           6 years ago

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