cordova-plugin-camera icon indicating copy to clipboard operation
cordova-plugin-camera copied to clipboard

Android: Exif location tags removed when selecting images from Gallery app

Open siwelisabeth opened this issue 4 years ago • 2 comments

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

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

siwelisabeth avatar May 11 '21 07:05 siwelisabeth

Hey @siwelisabeth I am just curious, you are able to select files from the Samsung Gallery app? I am asking because another user sends a bug report that he is not able to select from the Samsung Gallery app. @see https://github.com/apache/cordova-plugin-camera/issues/730

I understand the Exif Data is missing in some cases.

PieterVanPoyer avatar May 18 '21 19:05 PieterVanPoyer

@PieterVanPoyer I am able to select files from the Samsung Gallery app

siwelisabeth avatar May 19 '21 06:05 siwelisabeth