Hopefully the API stays unified enough for this to work!
This commit is contained in:
parent
f5ab0c8432
commit
5e972a8e0e
|
@ -7,7 +7,7 @@ import React, {
|
||||||
requireNativeComponent
|
requireNativeComponent
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
|
|
||||||
const CameraManager = NativeModules.CameraManager;
|
const CameraManager = NativeModules.CameraManager || NativeModules.CameraModule;
|
||||||
const CAMERA_REF = 'camera';
|
const CAMERA_REF = 'camera';
|
||||||
|
|
||||||
function convertStringProps(props) {
|
function convertStringProps(props) {
|
||||||
|
|
Loading…
Reference in New Issue