Rocket.Chat.Android icon indicating copy to clipboard operation
Rocket.Chat.Android copied to clipboard

Attaching large images via the Android App

Open earlng opened this issue 8 years ago • 4 comments

Description

We are experiencing some issues when we try to send large images (>1 MB) through the android app. Simply put, when I try to attach any large image, the chat app refuses to accept it, and then it just returns some sort of "JSON error".

This problem does not occur when I try to send smaller sized files (like phone screenshots), which are typically smaller than 1 MB.

I already checked if its caused by the File Upload limits, and I can rule that out. I set the limit to 20 MB, and the same images can be sent via the RocketChat desktop app, as well as the legacy Rocket Chat Android App.

Devices and Versions

Your Rocket.Chat.Android version: (e.g. 2.4.0) Your Rocket.Chat Server version: (e.g. 0.64.2)

Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")

Steps to reproduce

Try to take a picture using your phone app. And then send the image via the RocketChat App.

earlng avatar Jun 19 '18 06:06 earlng

This is suppose to be fixed right now.

rafaelks avatar Nov 02 '18 12:11 rafaelks

Same issue on iOS App. Small files are OK

kusakv avatar Feb 22 '19 09:02 kusakv

@kusakv Please check here for a solution: https://github.com/RocketChat/Rocket.Chat.iOS/issues/2184#issuecomment-423517754.

rafaelks avatar Feb 22 '19 10:02 rafaelks

@kusakv Please check here for a solution: RocketChat/Rocket.Chat.iOS#2184 (comment).

You are awesome! Thanks a lot!

kusakv avatar Feb 22 '19 11:02 kusakv