RocketChat / RocketChat/Rocket.Chat.ReactNative

feat: Add option to choose image/video quality like WhatsApp

Open
#6,316 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We would have to implement quality and videoQuality from expo-image-picker https://docs.expo.dev/versions/latest/sdk/imagepicker/#imagepickeroptions

To be done
  • Add a button on ShareView header to toggle between SD/HD. It can be just a text for now.
  • We’ll have to play with the values, but a compression of 0.5 might be enough
  • Default SD
  • The option needs to be considered on all files sent on the same upload, but fallback to SD afterwards for future uploads

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 at the ShareView header and the integration with expo-image-picker, focusing on its quality and videoQuality options. Add an SD/HD toggle with SD as the default, apply the selected quality to every file in one upload, and reset to SD for later uploads; verify the behavior with both images and videos.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.