React Native — @newinstance/bugwatch-react-native

Install: npm install @newinstance/bugwatch-react-native · new-architecture TurboModule · Android minSdk 24 · iOS pod resolves to the native BugWatch SDK · Expo config plugin included (./app.plugin.js).

import { BugWatch } from '@newinstance/bugwatch-react-native';
BugWatch.init({
  projectId: 'bwp_your_project_id',
  appSecret: 'your-mobile-app-secret',
  environment: 'production',
  release: '1.4.2+318',
});

JS auto-capture via ErrorUtils global handler + unhandled promise rejections (prior handlers chained). Native crashes/ANRs/sessions/offline queue come from the underlying native SDKs.

Wire endpoint used: POST /api/v1/bugwatch/ingest/mobile via the native layer.

Symbolication: upload the JS source map per release — npx @newinstance/bugwatch-cli artifacts upload main.jsbundle.map --release "1.4.2+318" --platform react-native --type sourcemap. The release string must equal init.release exactly.