React Native / Expo SDK

traceiq-react-native tracks screens and events with device info, persists the anonymous id across launches, and flushes when the app backgrounds.

bash
npm install traceiq-react-native
# optional, to persist the anonymous id across launches:
npm install @react-native-async-storage/async-storage
ts
import { traceiq } from 'traceiq-react-native';

traceiq.initialize({
  projectId: 'YOUR_PROJECT_ID',
  writeKey: 'YOUR_WRITE_KEY',
  endpoint: 'https://api.traceiq.run',
  appVersion: '1.4.0',
});

traceiq.identify({ userId: 'user_123', traits: { kyc_tier: 2 } });
traceiq.screen('Wallet');
traceiq.capture({ event: 'transfer_started', properties: { amount: 5000, currency: 'NGN' } });

For opt-in iOS/Android structural session replay, see the React Native session replay guide. It requires traceiq-react-native@0.2.0 or later; verify that release is available before installing. No rrweb, screenshots, or input contents are captured by the mobile recorder.