When the message has a file type different from Image/Video/Audio, the message is rendered empty.
For PDF, we could open the link on a webview or use this lib:
https://github.com/wonday/react-native-pdf
Edit: We should use this PR and parse and show copy-pasted medias, like png and gif.
I love it's idea guys. Thanks for anything :wink:
@diegolmello Can I work on this?
@sd1998 The PDF part is already done (it opens a webview).
Can you work on copy-pasted medias like png, gifs, giphy, etc.
It would be awesome!
Thanks :)
@diegolmello I will work on that then.
@diegolmello I am having a small issue whenever I try to run the app on android device I am receiving the following message:-

could you help me a little with the same? I have searched for the bug and have followed a couple of solutions obtained from stack overflow but none of them seem to work.
@sd1998 In order to have debug and release versions installed in the same devices, debug version is installed under chat.rocket.reactnative.debug bundle.
The issue is that RN can't find it to run immediately.
The app is probably installed in your device already if you search for it.
@diegolmello Yes, I found the app and have been trying to login but as and when I get authenticated in the app(Android) the app tends to crash. I have tested this on emulator as well as a physical device. The same is not reproducible on ios.
@sd1998 This happens on Android development only and there is an issue filed regrading this. Look into this and try any of the following workarounds. Cheers :grin:
@diegolmello I was looking into this and what I understand is when user sending a GIF and touching on the sent message the gif is opened but the ImageModal only shows the first frame and does not play the whole gif. But in case of PNG the image is perfectly shown in the ImageModal. So what I have to do is make sure that the gif plays when the message is touched right?
@sd1998 I'm sorry for the delay.
Choose whatever you feel it's better :)