# expo-screen-capture

> Protects screens in your app from being captured or recorded, and notifies if a screenshot is taken.

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

## Install

```sh
npm install expo-screen-capture
pnpm add expo-screen-capture
yarn add expo-screen-capture
bun add expo-screen-capture
```

## Health

**Score 75/100 (B)** — status: active.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 57.0.3 |
| Published | 2026-09-11 |
| First published | 2020-05-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 112.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 52440 |
| Author | 650 Industries, Inc. |
| Maintainers | ide, brentvatne, expoadmin, exponent, bycedric, kudochien, alanhughes, tsapeta, expo-bot, philpl, ccheever, wschurman |
| Keywords | react-native, expo, expo-screen-capture |

## Links

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

## Recent versions

- 57.0.3 (latest) — 2026-09-11
- 58.0.4 (next) — 2026-09-29
- 58.0.0-canary-20260909-ea7a89a (canary) — 2026-09-09
- 55.0.18 (sdk-55) — 2026-08-25
- 8.0.10 (sdk-54) — 2026-08-17
- 56.0.5 (sdk-56) — 2026-08-17
- 56.0.5-canary-20260701-9100865 (canary-sdk-56) — 2026-07-01
- 55.0.9-canary-20260429-a5e59cf (canary-sdk-55) — 2026-04-29
- 6.0.1 (sdk-51) — 2024-04-23
- 5.8.1 (sdk-50) — 2024-01-23
- 58.0.3 — 2026-09-25
- 58.0.2 — 2026-09-23
- 58.0.1 — 2026-09-21
- 58.0.0 — 2026-09-10
- 58.0.0-canary-20260908-e343e6e — 2026-09-08
- … 229 more at https://npm.io/package/expo-screen-capture/versions

## README

# expo-screen-capture

**`expo-screen-capture`** allows you to protect screens in your app from being captured or recorded, and notifies if a screenshot is taken while your app is foregrounded. The two most common reasons you may want to prevent screen capture are:

- If a screen is displaying sensitive information (password, credit card data, etc.)
- You are displaying paid content that you don't want recorded and shared

This is especially important on Android, since the [`android.media.projection`](https://developer.android.com/about/versions/android-5.0.html#ScreenCapture) API allows third-party apps to perform screen capture or screen sharing (even if the app is backgrounded).

## API documentation

## 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/screen-capture/).

## 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-screen-capture
```

### Configure for iOS

```
npx pod-install
```

### Configure for Android

No extra configuration necessary

## 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-screen-capture · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
