RocketChat / RocketChat/Rocket.Chat.ReactNative
Specific image crashes Android App on display
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description: Attached image crashes Android app on display
Environment Information:
- Rocket.Chat Server Version: 6.1.5
- Rocket.Chat App Version: 4.39.0.43604 (both devices)
- Device Name: OnePlus 9 Pro (LE 2123), Google Pixel 6 Pro (HW Rev. MP1.0)
- OS Version: OnePlus: Android 12, Build LE2123_11_C.66; Pixel: Android 13, Build TQ3A.230705.001
Steps to reproduce:
-
Someone uplads the attached image (filename: Clipboard - July 31, 2023 6_01 PM.png)to a channel. Open the Android app, navigate to said channel.
-
If the image is in view directly: do nothing. If the image is not in the current frame: scroll to it.
-
As soon as the image is reached/gets displayed the app crashes, this is reproducable on both phones.
Expected behavior:
To see the image.
Actual behavior:
App crashes immediately, garbled image is visible for a very short time (fraction of a second maybe).
Additional context:
This is not happening on a phone from a colleague (Galaxy S20, App version 4.39.043604, Android 12).
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.
Research direction
No source file or test is named. Start by reproducing the crash in the Android app with the attached image, then trace the image-display path when the message enters view. Done means the image displays without crashing on the reported devices and the relevant regression is covered by a test if the project provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100