RocketChat / RocketChat/Rocket.Chat.ReactNative

iOS Permission Bug Photos / unable to download images / re-install needed

Open
#5,285 17 comments 0 reactions 1 assignee View on GitHub

@reinaldonetof is already working on this.

Since Oct 20, 2023.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

Permission to download images handled incorrectly.

Environment Information:
  • Rocket.Chat Server Version: 6.3 (likely unrelated)
  • Rocket.Chat App Version: 4.41.0
  • Device Name: iPhone 13 Pro Max
  • OS Version: 17.0.3
Steps to reproduce:
  1. Install the app brand new, login.
  2. Click on a image in a chat.
  3. Click DOWNLOAD icon
  4. It should now ask wether you want to switch gallery permissions to all photos / selected photos or stay with the permissions "only add photos" - select "only add photos"
  5. Now you get "Error while downloading" - does not ask for any permissions again
Expected behavior:

1.) Download should work without read access to pictures.
2.) When required permissions are missing for an action the app should ask again for those permissions instead of throwing an error.

Actual behavior:

"Error while downloading"

Additional context:

In the iOS settings app if you search for Rocket.Chat you are unable to select any different photo permission then "None" or the already selected one "Only add photos" => Reinstall needed

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.