Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hectorllb opened this issue Aug 21, 2024 · 3 comments

Comments

@hectorllb
Copy link

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.

@diegolmello
Copy link
Member

I've been working on a fix on #5831

@dorrod-blip
Copy link

Hello, Can I work with you guys?

@hectorllb
Copy link
Author

hectorllb commented Aug 22, 2024

I just tried installing the RocketChat Experimental application, on two devices, one Samsung and the other Xiaomi, and it hasn't given me any problems when it comes to sharing files from WhatsApp Business, or from the gallery. Now I just tried again with the normal application on a Samsung and from WhatsApp Business it also allows me to share photos, but audio messages remain blank when I do "Share > RocketChat > ​​Select a room", this happens to me with both applications . It is possible that the application may not be prepared for the type of file that WhatsApp uses for photos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants