@raincatcher/camera
v1.1.2
Published
RainCatcher Camera Plugin
Downloads
7
Keywords
Readme
RainCatcher Cordova Camera Wrapper
Wrapper around the Cordova Camera Plugin that uses the File Store client.
Example
import { Camera } from '@raincatcher/camera');
const camera = new Camera();
camera.capture().then(function(captureResponse) {
const file = {
uri: captureResponse.value,
type: captureResponse.type,
};
// Uri can be used to display file
return file;
}