Hopefully the API stays unified enough for this to work!

This commit is contained in:
Lochlan Wansbrough 2016-01-31 21:03:15 -08:00
parent f5ab0c8432
commit 5e972a8e0e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {