RocketChat / RocketChat/Rocket.Chat.ReactNative
The application crashes when I try to share a file from WhatsApp or another application
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description:
If you try to share a photo/video/file from an application external to rocketchat, clicking share with RocketChat, the application opens and goes blank. But there are two cases, in iOS when I try it apparently the file is sent (it doesn't happen that it stays blank), but it never arrives, when I enter the application an error appears when uploading the file, if I try to retry it doesn't do nothing. The other case is on Android where what I told you before happens, the pop-up screen when you click on share goes blank and nothing can be done.
Environment Information:
- Rocket.Chat Server Version: 6.8.0
- Rocket.Chat App Version: 4.50.1.63099
- Device Name: iPhone 13mini/ Samsung A15
- OS Version: Ubuntu 20.04 in Docker
Steps to reproduce:
- Click on share (a WhatsApp photo/file/audio/video)
- Share with RocketChat
- Send photo to a 1:1 chat or channel/team
Expected behavior:
It is expected that the photo is sent correctly
Actual behavior:
This is in the example of iOS, which sends it and gets an error, I hit retry again and it stays in a loop like this (the attached photo is when I hit "retry")
Additional context:
With normal WhatsApp text messages you can forward them without problems on iOS, on Android they are blank when you go directly to share, it doesn't matter what type of file it is.
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
Reproduce the external-share flow using the listed steps on both the iPhone 13 mini and Samsung A15, testing photos, files, audio, and video. Compare the Android blank screen with the iOS upload error and retry loop; done means shared media arrives in the selected 1:1 chat or channel on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100