Advanced Configuration and APIs
Advanced Configuration & APIs
This section covers advanced UXCam React Native SDK features beyond the basic integration.
Start, stop, and manage session recording programmatically.
Temporarily pause recording for sensitive flows without stopping the session.
How UXCam captures crash reports and ANR events.
Send caught exceptions to UXCam alongside session replays.
Give users control over session recording for privacy compliance.
Enable verbose SDK logs for debugging your integration.
Configuration Reference
All options are set on the configuration object before calling startWithConfiguration():
import RNUxcam from 'react-native-ux-cam';
const configuration = {
userAppKey: 'YOUR_API_KEY',
// Screen tagging
enableAutomaticScreenNameTagging: false, // default: true (set false for RN)
// Recording behavior
enableImprovedScreenCapture: true, // default: false
enableMultiSessionRecord: true, // default: true
enableCrashHandling: true, // default: true
// Debugging
enableIntegrationLogging: false, // default: false
// Network monitoring
enableNetworkLogging: false, // default: false
};
RNUxcam.optIntoVideoRecordings();
RNUxcam.startWithConfiguration(configuration);
Deprecation Note
optIntoSchematicRecordings()/optOutOfSchematicRecordings()are deprecated. UseoptIntoVideoRecordings()/optOutOfVideoRecordings()instead. Schematic vs. video recording is now controlled exclusively from the dashboard.
Updated 9 days ago
