diff --git a/Camera.js b/Camera.js index 33ba996..bb37ee6 100644 --- a/Camera.js +++ b/Camera.js @@ -7,7 +7,7 @@ import React, { requireNativeComponent } from 'react-native'; -const CameraManager = NativeModules.CameraManager; +const CameraManager = NativeModules.CameraManager || NativeModules.CameraModule; const CAMERA_REF = 'camera'; function convertStringProps(props) {