1.8 KiB
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 ofexpo-updates
. You can also use a third-party crash reporting service like Sentry or Bugsnag with EAS Build.
expo-error-recovery
helps you gracefully handle crashes caused by fatal JavaScript errors.
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
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.