npm

Join us for the "JavaScript Supply Chain Security" tech talk, presented by VP of Security, Adam Baldwin. 6/20 at 10am PT.Sign up here »

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.

install

npm i cordova-plugin-camera-withexif

Downloadsweekly downloads

4

version

1.0.5

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability