nextcloud / nextcloud/ios

Unable to give photos access until I enter Auto Upload and enable it there

Open
#1,939 0 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
  1. New app install and connected to a server
  2. Download photos to local photos
  3. Get error saying access to photos not granted
  4. ios settings shows no option to enable access to photos
  5. in NC app have to open More -> auto upload and then we get a prompt to allow access to photos
Expected behaviour

Should request permissions for photos access on first opening of app and not hide it away in auto upload section as it breaks photo download

Actual behaviour

Get an error when downloading photos as I was never prompted to allow photos access. ios settings shows no option to allow photos access as well

Screenshots

No photo access option to enable when trying to download photos, the option only appears after access auto upload.
IMG_5708

Reasoning or why should it be changed/implemented?
Environment data

iOS version: e.g. iOS 15.4

Nextcloud iOS app version: 4.3.1.0

Server operating system: Ubuntu linux

Web server: nginx

Database:

PHP version:

Nextcloud version: 22.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 download flow described for a new installation, then compare it with the permission prompt reached through More → Auto Upload. The issue is done when photo access is requested during the first relevant use and the permission option appears in iOS Settings without enabling Auto Upload.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.