| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This example exercises @exceptionless/react-native from an Expo app. It covers JavaScript errors, promise rejections, manual events, logs, sessions, user identity, the React error boundary, and native iOS crash submission.
Native iOS crash reporting uses the package's custom native module, so it requires an Expo development build or a standalone app. Expo Go can run JavaScript reporting paths only; it cannot load the native crash reporter.
This app tracks Expo SDK 56.
From the repository root:
npm install
npm run ios --workspace=example/exponpm run ios runs expo run:ios, which prebuilds native files when needed, installs the development build, and starts Metro. The script sets REACT_NATIVE_PACKAGER_HOSTNAME=localhost so iOS Simulator stack traces use localhost bundle URLs instead of LAN IPs.
For the checked-in VS Code launch profile and iPad dogfooding, use:
npm run ios:ipad --workspace=example/expoios:ipad launches the iPad Air 11-inch (M3) simulator on Metro port 8082, which avoids colliding with another React Native app already using the default 8081 port. It also forces the Metro hostname to localhost.
If the development build is already installed, start Metro directly:
npm run start --workspace=example/expoUse the web build for JavaScript event flows:
npm run start:web --workspace=example/expoThe web build does not include native crash reporting.
With an Exceptionless server listening on http://localhost:7110, use the sample tabs to submit:
The in-app Logs tab should show events being enqueued and sent to the configured server. Native iOS crash reports are captured by the development build and submitted on the next launch.
| Back | FazBrowse Home | New Git URL |