Skip to content

Commit c71997c

Browse files
committed
Fix docs that describe the no-op Expo config plugin as required (#206)
1 parent ad5cd62 commit c71997c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.agents/skills/exceptionless-javascript/references/client-react-native.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install @exceptionless/react-native @react-native-async-storage/async-storag
1717
cd ios && pod install
1818
```
1919

20-
For Expo development or standalone builds, add the config plugin:
20+
No config plugin is required: the native crash reporter pod is linked by autolinking. The optional config plugin currently makes no native changes:
2121

2222
```json
2323
{
@@ -104,7 +104,7 @@ await Exceptionless.createException(new Error("Checkout failed"))
104104

105105
## Troubleshooting
106106

107-
- If native crashes do not appear in Expo, verify the app is not running in Expo Go and that the config plugin is present before rebuilding the native app.
107+
- If native crashes do not appear in Expo, verify the app is not running in Expo Go, rebuild the native app after installing the package, and check that `ios/Podfile.lock` includes `exceptionless-react-native` (autolinking).
108108
- If simulator submissions cannot reach a local Exceptionless server, use `http://localhost:<port>` for iOS Simulator and make sure Metro is not running in Expo's default LAN mode. Physical devices need a reachable LAN host.
109109
- For malformed or unexpected stacks, verify behavior in `ReactNativeErrorPlugin` tests before changing parser logic.
110110
- For native crash report loss concerns, verify `NativeCrashPlugin` only clears pending reports after at least one report is retrieved and submitted.

‎packages/react-native/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ That's it. Unhandled errors, promise rejections, and native iOS crashes are now
3838
npx expo install @exceptionless/react-native @react-native-async-storage/async-storage
3939
```
4040

41-
Add the config plugin to `app.json` when using development or standalone builds:
41+
The native crash reporter is linked by autolinking, so no config plugin is required. The package ships an optional config plugin that currently makes no native changes; you can add it to `app.json` so future native configuration is applied automatically:
4242

4343
```json
4444
{

0 commit comments

Comments
 (0)