nextcloud / nextcloud/ios

Live photos not being uploaded on ios when access mode is set to "Selected photos"

Open
#1,845 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Similar to #1507, but happens when access mode in ios is set to "Selected photos".

Steps to reproduce
  1. Enable auto-upload and "Live Photo" in the app settings
  2. In the ios privacy settings, change the access mode of photos to "Selected Photos"
  3. Take a picture and add it to the selection
  4. Open the nextcloud app and wait for auto-upload
  5. Go to "media" and look at the newly uploaded picture
Expected behaviour

Picture should exist on the server as .heic and as .mov and should be available as live-picture in the media-view

Actual behaviour

After uploading, it initially shows the "live-image" icon on the image for some seconds, after it disappears and no live-image is available. Also there is no .mov file on the server.

Reasoning or why should it be changed/implemented?

The behaviour should be the same as when the access mode is set to "All Photos".
For me, with auto-upload enabled, I currently need to set the access mode to "Selected photos" because of a large library that at the moment can't be completely uploaded, and which should only auto-upload partially after manual review.

Environment data

iOS version: iOS 15.2

Nextcloud iOS app version: 4.2.0.5

Web server: Apache

Nextcloud version: 23.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with iOS Photos access set to Selected Photos, then compare auto-upload and Live Photo handling with the All Photos case and issue #1507. Trace the app's auto-upload entry point for the selected image; done means the server receives both the .heic and .mov files and the media view preserves the Live Photo.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.