cordova-plugin-camera-withexif

1.0.5 • Public • Published

title: Camera description: Take pictures with the device camera.

Build Status

cordova-plugin-camera-exifdata

This plugin defines a global navigator.camera object, which provides an API for taking pictures and for choosing images from the system's image library. The only thing added for now is support of returning base64encoded string with Exif meta data for iOS only. This works with destination type DATA_URL only. AssetsLibrary.framework needs to be added to xcode project for it to work.

Although the object is attached to the global scoped navigator, it is not available until after the deviceready event.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    console.log(navigator.camera);
}

Rest of the instructions are same as found in original Cordova Camera plugin.

Package Sidebar

Install

npm i cordova-plugin-camera-withexif

Weekly Downloads

4

Version

1.0.5

License

Apache-2.0

Last publish

Collaborators

  • vigyanhoon