JSPM

  • Created
  • Published
  • Downloads 10801
  • Score
    100M100P100Q139829F
  • License MIT

React Native wrapper for uxcam.com.

Package Exports

  • react-native-ux-cam

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-ux-cam) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-ux-cam

Installation

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

$react-native link react-native-ux-cam

For react-native version 0.60 if using iOS you then need to:

cd ios && pod update && cd ..

Usage

import RNUxcam from 'react-native-ux-cam';

RNUxcam.startWithKey('YOUR API KEY');

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!