Update Camera.js

This commit is contained in:
Jannik Sommerfeld 2016-04-09 02:45:42 +02:00 committed by Zack Story
parent d449599248
commit b97e153ec9
No known key found for this signature in database
GPG Key ID: 9057E38B6937BF11

View File

@ -88,6 +88,7 @@ export default class Camera extends Component {
onFocusChanged: PropTypes.func,
onZoomChanged: PropTypes.func,
mirrorImage: PropTypes.bool,
barCodeTypes: PropTypes.array,
orientation: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
@ -116,6 +117,7 @@ export default class Camera extends Component {
playSoundOnCapture: true,
torchMode: CameraManager.TorchMode.off,
mirrorImage: false,
barCodeTypes: [],
};
static checkDeviceAuthorizationStatus = CameraManager.checkDeviceAuthorizationStatus;