1.1.2 • Published 8 years ago

@raincatcher/camera v1.1.2

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
8 years ago

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;
}