You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
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.
The text was updated successfully, but these errors were encountered: