Current Behavior:
I am specifically looking at the Location EXIF tags. I have found that using my Samsung A52 phone running Android 11. If I take a photo using the camera tile the image is saved to a folder called Pictures (not Camera), if I then take this photo using the uri and process the image send to server then EXIF location tags is maintained. If I take a photo from my app using the cordova-plugin-media-capture and upload it to the server all is working with the EXIF & Location. Any other photo on my device will bring in all EXIF data except for the GPS position (all my camera roll has EXIF and gps tags).
Expected Behavior:
I would have hoped all images selected that have EXIF location data would persist this via the image picker.
Steps to reproduce:
Take a pic using the default camera app on you device, then using the picker and collecting the data uri save to result and the GPS EXIF will not be there. (At least using my Samsung and Android 11)
Screenshots:
Environment information:
Cordova CLI version
cordova -v 11.0.0
Cordova platform version
cordova platform ls Android 10.1.1
Plugins & versions installed in project (including this plugin)
cordova plugin ls showing 1.4.0
Additional information
I suspect some form of Android security process however if I take the images from the device via cable etc the EXIF is always available and I have not found any notes or details about Android 11 removing EXIF locations from photos outside of the app environment unless you are using a third party camera app - which I am not.
Bug Report
Current Behavior: I am specifically looking at the Location EXIF tags. I have found that using my Samsung A52 phone running Android 11. If I take a photo using the camera tile the image is saved to a folder called Pictures (not Camera), if I then take this photo using the uri and process the image send to server then EXIF location tags is maintained. If I take a photo from my app using the cordova-plugin-media-capture and upload it to the server all is working with the EXIF & Location. Any other photo on my device will bring in all EXIF data except for the GPS position (all my camera roll has EXIF and gps tags).
Expected Behavior: I would have hoped all images selected that have EXIF location data would persist this via the image picker.
Steps to reproduce: Take a pic using the default camera app on you device, then using the picker and collecting the data uri save to result and the GPS EXIF will not be there. (At least using my Samsung and Android 11)
Screenshots:
Environment information:
cordova -v
11.0.0cordova platform ls
Android 10.1.1cordova plugin ls
showing 1.4.0Additional information
I suspect some form of Android security process however if I take the images from the device via cable etc the EXIF is always available and I have not found any notes or details about Android 11 removing EXIF locations from photos outside of the app environment unless you are using a third party camera app - which I am not.