If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
Notes: Jira ticket
Android app gets slowed down when in a channel with a large number of animated emoji. App resumes working normally after switching to a different channel.
This only effects the Android app, iOS works as usual in this scenario.
Original community report: [https://github.com/mattermost/mattermost-mobile/issues/2828|https://github.com/mattermost/mattermost-mobile/issues/2828]
Apparently when rendering multiple images on Android it can consume a lot of memory and CPU cycles until the app becomes fully unresponsive, this can be related to the underlying fresco library used on Android to render images.
Possible solutions:
Can I help on this? Thanks
So I've successfully replicated this issue using my favorite :parrot: lol

Now gonna try to optimize it
@enahum @esethna
Hi guys, I think I've found the solution, which is to replace use of fresco with react-native-fast-image
Tried but doesn鈥檛 work
What I've tried that works is on the rn-0.60 branch, use react-native-fast-image 7.0.2 (requires rn 0.60) to replace the <Image/> component in emoji.js

@kdenz was this on top of the rn-60 branch? feel free to submit a PR ;)
then we can focus on the server to optimize the images in general including gifs
This issue has been resolved
Most helpful comment
@kdenz was this on top of the rn-60 branch? feel free to submit a PR ;)
then we can focus on the server to optimize the images in general including gifs