uxcam / react-native-ux-cam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

null is not an object (evaluating UXCamBridge.optIntoSchematicRecordings') #137

junhohong opened this issue · comments

commented

Versions
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz"
"react-native-ux-cam": "^5.3.3",

Code

import RNUxcam from 'react-native-ux-cam';
RNUxcam.optIntoSchematicRecordings(); // Add this line to enable iOS screen recordings
RNUxcam.startWithKey('API_KEY'); // Add this line after RNUcam.optIntoSchematicRecordings();

Screenshot

IMG_7259

Hi @junhohong - Sorry you are having problems getting it running.

Can you tell me what device / simulator / emulator you had this problem on?
Can you share you package.json file for the project?

Hi @junhohong - Can you please share with me if you have Expo integrated in your React Native application?