Skip to content

Sharing images from other apps removes EXIF location on Android > 10 #6248

Description

@AykutCevik

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
    grafik

Actual behaviour

  • Pictures are missing GPS data after upload
    grafik

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedbugfeature: app-to-app sharingAndroid intent/share-sheet integration for importing from or exporting to other apps.hotspot: device storageStorage (on-device) related. Permissions, paths, inconsistencies, etc.hotspot: metadataMetadata (EXIF, GPS, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions