hMatoba/piexifjs

Problem when running inside cordova

HarelM opened this issue · 3 comments

I have no clue why, but the following image does not get any exif info when used inside cordova.
When using the same code on desktop browser the data is fetched correctly.
img_20190205_233435
How can I debug this?

Seems like this was not related to this library after all... Closing.

@HarelM can you share how to fix your problem? because i also using cordova.

The problem was a bug in a cordova plugin where the exif information was lost when using the gallery.
The following line solved it:
https://github.com/IsraelHikingMap/Site/blob/e38e4b47d333bb86168e02b2731d4b10556a6b43/IsraelHiking.Web/sources/application/directives/image-capture.directive.ts#L65
Relevant issues:
IsraelHikingMap/Site#932
apache/cordova-plugin-camera#329