RocketChat / RocketChat/Rocket.Chat.ReactNative

The application crashes when I try to share a file from WhatsApp or another application

Open
#5,832 3 comments 0 reactions 0 assignees View on GitHub

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:
  1. Click on share (a WhatsApp photo/file/audio/video)
  2. Share with RocketChat
  3. 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")

Diseño sin título (1)

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.