Quickstart
Pionne is a mobile-first error monitoring tool for React Native + Expo. This guide takes you from an empty project to your first captured crash in under 5 minutes.
1. Install the SDK
Section titled “1. Install the SDK”npm install @pionne/react-native2. Get a token
Section titled “2. Get a token”Open the Pionne mobile app, sign in, then + New project to generate a pio_live_… token.
3. Initialize the SDK
Section titled “3. Initialize the SDK”import { Pionne } from '@pionne/react-native';
Pionne.init({ token: 'pio_live_xxx' });// All JS exceptions, unhandled rejections,// console + fetch breadcrumbs are captured automatically.4. Verify
Section titled “4. Verify”Trigger a test exception:
Pionne.captureException(new Error('Test from quickstart'));Open the Pionne mobile app — your event should appear within a few seconds.
Next steps
Section titled “Next steps”- API reference — full SDK API
- Auto-capture — what’s caught automatically
- Source maps — readable stack traces in production