nextcloud / nextcloud/ios

Live Photo (two files instead of one) upload Bug

Open
#1,694 12 comments 0 reactions 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

Steps to reproduce
    • Upload a Live Photo in app
      1.2 - u see one file (.heic) in app
    • if you log into the browser on the server, you will see a .heic and a .mov file with the same name

I noticed today that when I upload live photos (.heic) to my nextcloud server using the app, the ios nextcloud app saves as a .heic and as a .mov file. In the app itself I only see the live photo (.heic).
However, when I look at the server, I see a .heic and a .mov file.

The problem with two files instead of one was not like this before and besides an update of the app from the appstore nothing has been changed. This problem has been tested on different Nextcloud servers (version 21.0.4, 20.0.9 & 20.0.10).

If I disable in the app under settings - extended maximum compatibility and live photo, but only the .heic file is uploaded and is also only one file on the server…however, this .heic file is then no longer a live photo.

Previously there was only a .heic file on the server without an additional .mov file. Where is the problem? A reinstallation of the app did not change anything.

Environment data

iOS version:
iOS 15

Nextcloud iOS app version:
4.0.6

Server operating system:
Ubuntu

Web server: Apache, nginx

Database:
MySQL 8
PHP version:
7.4

Nextcloud version:
version 21.0.4, 20.0.9 & 20.0.10

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 with the iOS app's Live Photo upload flow and reproduce the issue using iOS 15, app version 4.0.6, and the listed Nextcloud server versions. Compare uploads with extended maximum compatibility and Live Photo enabled or disabled. Done means a Live Photo remains usable in the app while the server no longer receives an unintended separate .mov file.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.