# expo-error-recovery

> Utilities for helping you gracefully handle crashes due to fatal JavaScript errors.

Latest version **4.0.1** (published 2022-10-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install expo-error-recovery
pnpm add expo-error-recovery
yarn add expo-error-recovery
bun add expo-error-recovery
```

## Health

**Score 50/100 (C)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.1 |
| Published | 2022-10-28 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 52689 |
| Author | 650 Industries, Inc. |
| Maintainers | christopherwalter, kbrandwijk, fiber-god, ide, brentvatne, evanbacon, quinlanj, expoadmin, tsapeta, dsokal, tcdavis, exponent, wschurman, wkozyra, bycedric, lukmccall, jonsamp, princefleaswallow, andyboythekid, kudochien, bbarthec |
| Keywords | react-native, expo, expo-error-recovery, error-recovery |

## Links

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

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 4.0.1 (latest) — 2022-10-28
- 4.1.1 (next) — 2023-02-09
- 4.1.0 — 2023-02-03
- 4.0.0 — 2022-10-06
- 3.2.0 — 2022-07-07
- 3.1.0 — 2022-04-18
- 3.0.5 — 2022-02-01
- 3.0.4 — 2021-11-17
- 3.0.3 — 2021-10-21
- 3.0.2 — 2021-10-15
- 3.0.1 — 2021-10-01
- 3.0.0 — 2021-09-28
- 2.3.0 — 2021-09-08
- 2.2.0 — 2021-06-16
- 2.1.0 — 2021-03-10
- … 9 more at https://npm.io/package/expo-error-recovery/versions

## README

# expo-error-recovery

> **Deprecated.** This module will be removed in SDK 47. This package is not utilized in projects built outside of the deprecated classic build system (`expo build:ios` & `expo build:android`). For similar functionality, use the built-in [error handling of `expo-updates`](https://docs.expo.dev/bare/error-recovery). You can also use a third-party crash reporting service like [Sentry](https://docs.expo.dev/guides/using-sentry/) or [Bugsnag](https://docs.expo.dev/guides/using-bugsnag/) with EAS Build.

`expo-error-recovery` helps you gracefully handle crashes caused by fatal JavaScript errors.

# API documentation

- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/error-recovery.md)
- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/error-recovery/)

# Installation in managed Expo projects

For [managed](https://docs.expo.dev/versions/latest/introduction/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/error-recovery/).

# 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

```
npm install expo-error-recovery
```

### 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](https://github.com/expo/expo#contributing).

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