Skip to content

Uploading a PNG/JPG file to DCIM/100APPLE doesn't make it appear in Photos #6

Description

@TomasHubelbauer

Hi, I am not sure if this is supposed to work or not, but I am looking to selectively sync photos and I am using downloadFile, uploadFile and readDirectory to do it.

These methods all work well, namely, when I do a sequence of uploadFile, readDirectory and downloadFile, the individual methods succeed and I see the file appear in the directory listing and it is not corrupted when downloaded back.

However, the file that I upload to DCIM/100APPLE does not appear in the Photos app. I tried with a PNG file and a JPG file and neither did appear there. I restarted the Photos app to rule out any caching issues as well.

Do you know why this might be happening? Is it perhaps necessary that I use HEIF or maybe a specific kind of a compression for the Photos app to pick my file up?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions