Sharing images from other apps removes EXIF location on Android > 10
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Take a picture with a camera app which writes also GPS data into the picture
2. Ensure GPS data is written into the picture with different apps like file browser or gallery app
3. Upload this picture with the Nextcloud Android app version 3.11.1 via the share menu from gallery app
4. Download picture from Nextcloud instance with a browser and look at the GPS data of the file
5. See that the GPS data is missing or more likely set to zero
### Expected behaviour
- Pictures shouldn't lose their GPS data while uploaded through the app

### Actual behaviour
- Pictures are missing GPS data after upload

### Can you reproduce this problem on https://try.nextcloud.com?
- Upload through the browser to Nextcloud works fine, just app removes the informations
### Environment data
Android version: 10 (OxygenOS 10.3.3)
Device model: OnePlus 6T
Stock or customized system: Stock
Nextcloud app version: 3.11.1
Nextcloud server version: 18.0.5
Reverse proxy: Nginx
### Logs
#### Web server error log
```
Nothing worth to mention
```
#### Nextcloud log (data/nextcloud.log)
Only related to "Maps" app while trying to analyze the image since the GPS data is wrong.
```
Nothing worth to mention
```
I faced this issue since I saw that the pictures weren't showing up in the Maps app of Nextcloud. So this is not a new issue. Also I can surely say that the problem started before 20th of April, so also with a prior version. I can share pictures in a PM.
Appreciate any ideas for solving this issue.
Thank you for your great work!
Contributor guide
Assessment
This issue has not been assessed yet.