null is not an object (evaluating UXCamBridge.optIntoSchematicRecordings') #137
junhohong opened this issue · comments
jun 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
Richard Groves commented
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?
Diego Hernandez - UXCam commented
Hi @junhohong - Can you please share with me if you have Expo integrated in your React Native application?