Advanced Configuration and APIs

Advanced Configuration & APIs

This section covers advanced UXCam React Native SDK features beyond the basic 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. Use optIntoVideoRecordings() / optOutOfVideoRecordings() instead. Schematic vs. video recording is now controlled exclusively from the dashboard.