From 2cf627809b928e474a018f81c30ec7502d9a49d8 Mon Sep 17 00:00:00 2001 From: Zack Date: Thu, 30 Apr 2015 21:04:16 -0700 Subject: [PATCH] add capturePictureToDisk to react component --- Camera.ios.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Camera.ios.js b/Camera.ios.js index d47baaf..49a0fbb 100644 --- a/Camera.ios.js +++ b/Camera.ios.js @@ -73,7 +73,12 @@ var Camera = React.createClass({ takePicture: function(cb) { NativeModules.CameraManager.takePicture(cb); + }, + + capturePictureToDisk: function(cb) { + NativeModules.CameraManager.capturePictureToDisk(cb) } + }); var RCTCamera = createReactIOSNativeComponentClass({