RocketChat / RocketChat/Rocket.Chat.ReactNative
iOS Permission Bug Photos / unable to download images / re-install needed
Open
@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:
- Install the app brand new, login.
- Click on a image in a chat.
- Click DOWNLOAD icon
- 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"
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.