immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
44.71k stars 2.17k forks source link

iOS app should request full permission #11255

Open sinofool opened 1 month ago

sinofool commented 1 month ago

The bug

When iOS app request "Add Photos Only" permission first, unable to grant full access later.

Screenshot 2024-07-20 at 5 05 25 PM

The OS that Immich Server is running on

Docker 27.0.3

Version of Immich Server

v1.109.2

Version of Immich Mobile App

1.109.0 build.164

Platform with the issue

Your docker-compose.yml content

irrelevant

Your .env content

irrelevant

Reproduction steps

1. Fresh installation of iOS app
2. Login to existing account on server with photos already backed up from other devices.
3. Download one of the existing photos, allow "Add photos" permission.
4. Go to backup settings, it shows insufficient permission, click "go settings"
5. The Photos permission settings only have "None" and "Add Photos Only", two options. Unable to grant full access.

Relevant log output

No response

Additional information

It may be need to request full access again when click "Go to settings".

Kramins commented 1 month ago

This appears to be happening on my wife's iPhone as well, It asked for permissions but doesn't have the request permissions in the list to grant.

alextran1502 commented 1 month ago

When you go to the backup page, does it request you grant additional permission?

sinofool commented 1 month ago

No, If the user didn't give the full permission for the first time. All the following visit will only open application settings as I originally screenshot shows. There is no option to grant the full access.

Kramins commented 1 month ago

What i discovered was that in iOS, the permissions would disappear for not only immich but many of the other apps as well. I'm not sure if this is a bug in iOS or not, but a cold reboot corrected the issue.

kryst4line commented 1 week ago

@Kramins Damn thanks, I was getting crazy and after a reboot it worked again!