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?
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,uploadFileandreadDirectoryto do it.These methods all work well, namely, when I do a sequence of
uploadFile,readDirectoryanddownloadFile, 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/100APPLEdoes 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?