# expo-keep-awake

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

Latest version **57.0.2** (published 2026-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install expo-keep-awake
pnpm add expo-keep-awake
yarn add expo-keep-awake
bun add expo-keep-awake
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score; popular repo; extremely popular.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 57.0.2 |
| Published | 2026-09-11 |
| First published | 2019-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 59.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 52212 |
| Author | 650 Industries, Inc. |
| Maintainers | ide, brentvatne, expoadmin, exponent, bycedric, kudochien, alanhughes, tsapeta, expo-bot, philpl, ccheever, wschurman |
| Keywords | react-native, expo, awake, keep-awake |

## Links

- npm: https://www.npmjs.com/package/expo-keep-awake
- Repository: https://github.com/expo/expo
- Homepage: https://docs.expo.dev/versions/latest/sdk/keep-awake/
- Issues: https://github.com/expo/expo/issues
- npm.io page: https://npm.io/package/expo-keep-awake

## Recent versions

- 57.0.2 (latest) — 2026-09-11
- 58.0.0 (next) — 2026-09-10
- 58.0.0-canary-20260909-ea7a89a (canary) — 2026-09-09
- 56.0.4-canary-20260701-9100865 (canary-sdk-56) — 2026-07-01
- 55.0.5-canary-20260429-a5e59cf (canary-sdk-55) — 2026-04-29
- 13.0.2 (sdk-51) — 2024-05-15
- 12.8.2 (sdk-50) — 2024-01-18
- 58.0.0-canary-20260908-e343e6e — 2026-09-08
- 58.0.0-canary-20260902-26df09e — 2026-09-02
- 58.0.0-canary-20260901-2164f24 — 2026-09-02
- 58.0.0-canary-20260812-27f94d4 — 2026-08-12
- 58.0.0-canary-20260806-8c2d007 — 2026-08-06
- 57.0.0-canary-20260723-64edab9 — 2026-07-23
- 57.0.0-canary-20260720-b6d63bc — 2026-07-20
- 57.0.0-canary-20260718-7cbcda5 — 2026-07-18
- … 224 more at https://npm.io/package/expo-keep-awake/versions

## README

<p>
  <a href="https://docs.expo.dev/versions/latest/sdk/keep-awake/">
    <img
      src="../../.github/resources/expo-keep-awake.svg"
      alt="expo-keep-awake"
      height="64" />
  </a>
</p>

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

# API documentation

- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/keep-awake/)
- [Documentation for the main branch](https://docs.expo.dev/versions/unversioned/sdk/keep-awake/)

# Installation in managed Expo projects

For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/keep-awake/).

# Installation in bare React Native projects

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

### Add the package to your npm dependencies

```
npx expo install expo-keep-awake
```

### Configure for Android

No additional set up necessary.

### Configure for iOS

Run `npx pod-install` after installing the npm package.

# Contributing

Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).

---
_Source: https://npm.io/package/expo-keep-awake · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
