Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use with Cordova Capture plugin? #3

Open
marcsyp opened this issue Jun 23, 2014 · 0 comments
Open

Can't use with Cordova Capture plugin? #3

marcsyp opened this issue Jun 23, 2014 · 0 comments

Comments

@marcsyp
Copy link

marcsyp commented Jun 23, 2014

Trying to use this with the Capture plugin (not Camera). I am passing the mediaFile.fullPath as the fileURI, I get "undefined" as a result.

function captureSuccess(mediaFiles) {

for (var a in mediaFiles) {
CordovaExif.readData(mediaFiles[a].fullPath, function(exifObject) {
alert(exifObject); // "undefined"
});
window.resolveLocalFileSystemURI(mediaFiles[a].fullPath, gotFileEntry, fail);
};

};

navigator.device.capture.captureImage(captureSuccess, captureError, {limit: 5});

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant