Description
Bug Report
Problem
This problem occurs on Android devices:
The exif location tags are removed from the image when images taken with camera are selected from Samsung Gallery app with the camera plugin.
However, the exif tags are not removed if the images are taken with camera and selected from "recent files" with the camera plugin. Further, the exif tags are not removed if the images are taken with the camera-plugin and then selected from Samsung Gallery app.
Command or Code
Plugin configuration:
var opts = {
quality: 30,
targetWidth: 900,
targetHeight: 900,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
encodingType: Camera.EncodingType.JPEG,
mediaType: Camera.MediaType.PICTURE,
allowEdit: false,
correctOrientation: true,
saveToPhotoAlbum: true
}
Version information
cordova android 9.1.0
cordova-plugin-camera 5.0.1
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above