react-native-ux-cam
TypeScript icon, indicating that this package has built-in type declarations

5.4.16 • Public • Published

react-native-ux-cam

Installation

$yarn add file:/path-to-the-uxcam-react-wrapper

For iOS, you will need to update pod as well:

cd ios && pod update && cd ..

Starting from 5.3.0, we no longer support project with react native version <0.60.0. Use manual linking for older version to add UXCam to your project.

iOS 10 is the lowest version supported for recording sessions, which matches the default minimum version for new React Native projects.

Usage

import RNUxcam from 'react-native-ux-cam';
RNUxcam.optIntoSchematicRecordings(); // Add this line to enable iOS screen recordings
 const configuration = {
    userAppKey: 'YOUR API KEY',
    /*
        disable advanced gestures if you're having issues with
        swipe gestures and touches during app interaction
    */
    // enableAdvancedGestureRecognition: false
 }
RNUxcam.startWithConfiguration(configuration);

For testing example app

Setup

yarn install

yarn add react-native-ux-cam

or if adding locally

yarn add file:/path-to-uxcam-plugin

Add the key from UXCam to App.js file

Running

react-native run-android

react-native run-ios

History

This is an updated way of integrating the UXCam SDK react-native following on from the original work by Mark Miyashita (https://github.com/negativetwelve) without whom this would have all been much harder!

Package Sidebar

Install

npm i react-native-ux-cam

Weekly Downloads

13,561

Version

5.4.16

License

MIT

Unpacked Size

99.3 kB

Total Files

20

Last publish

Collaborators

  • hemang_uxcam
  • richard-groves-imac
  • ankit-uxcam