Description
Bug Report
Problem
Exif data is getting lost when opening an image from the photo library on an android device.
This is in continue to #329.
Related to an issue reported by our users:
IsraelHikingMap/Site#932
What is expected to happen?
Exif data should be kept
What does actually happen?
Exif data is getting lost
Information
I've just tested the code using the instructions #415 and I still see an issue with exif data getting lost when getting images from the photo library on android device.
The code I'm using is the following:
navigator.camera.getPicture(() => ..., { destinationType: Camera.DestinationType.DATA_URL, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, saveToPhotoAlbum: false}).
Code can be seen here:
https://github.com/IsraelHikingMap/Site/blob/d81cfdfd339060aab9b512352741b5af00c8a214/IsraelHiking.Web/sources/application/directives/image-capture.directive.ts#L41
Command or Code
Environment, Platform, Device
Android, N2G47H 7.1.2, xiomi redmi 4
Version information
Can be seen here:
https://github.com/IsraelHikingMap/Site/blob/master/IsraelHiking.Web/package.json
https://github.com/IsraelHikingMap/Site/blob/master/IsraelHiking.Web/config.xml
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version - I can't, latest cordova doesn't run on my windows 10 machine. the plugin is up-to-date though...
- I included all the necessary information above