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

find no Exif data on phonegap ios #4

Open
xenophon566 opened this issue Aug 8, 2014 · 3 comments
Open

find no Exif data on phonegap ios #4

xenophon566 opened this issue Aug 8, 2014 · 3 comments

Comments

@xenophon566
Copy link

Hello, I have a question about the plugin. I followed you complete example, trying to get a Exif data on phonegap ios. but the result is "undefinded".
here is my code :
navigator.camera.getPicture(function(FILE_URI){
CordovaExif.readData(FILE_URI, function(exifObject) {
console.log(exifObject); // output is undefinded
});
}, function(err){ console.error(err) });

My FILE_URI ==>
file:///var/mobile/Applications/F43B3D33-F23E-424A-87E9-9F42BA2AB57B/tmp/photo_001.jpg

please help me to find out the problem, thank you so much.

@JoaoPintoM
Copy link

Same problem here.. no idea for a solution ? Still undefined

@Tomino2112
Copy link

From what I have researched, it seems to be issue with cordova camera plugin. It doesn't copy exif data when selecting already existing picture from gallery, only when taking new picture

@domax
Copy link
Contributor

domax commented Oct 29, 2016

Despite this plugin works as designed (gets EXIF data from photo data), it is useless in iOS, because iOS keeps metadata (especially geolocation) separately from photo - it should be obtained with native code. So, if you need geolocation data, I would recommend to use cordova-plugin-photos instead.

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

4 participants