@nathanclaire/rum-capacitor
v3.5.0
Published
Capacitor integration for edge-rum — JS bridge + native iOS/Android crash capture
Readme
@nathanclaire/rum-capacitor
Capacitor integration for the edge-rum SDK. Collects native device information, monitors network connectivity, and tracks app lifecycle events.
Install
npm install @nathanclaire/rum @nathanclaire/rum-angular @nathanclaire/rum-capacitorWhat it provides
- Device context — model, OS, screen size, battery level, platform detection
- Network capture — connectivity changes, connection type (wifi/cellular/none)
- Lifecycle capture — foreground/background transitions, session timeout handling
Usage
If you're using EdgeRumModule.forRoot() from @nathanclaire/rum-angular, Capacitor capture is wired automatically. For manual setup:
import { startCapacitorCapture } from '@nathanclaire/rum-capacitor';
await startCapacitorCapture();Peer dependencies
@capacitor/core>= 5@capacitor/device>= 5@capacitor/network>= 5@capacitor/app>= 5
