element-hq / element-hq/element-android

Animated AVIFs crash the Android app

Open
#3,659 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
Having an animated AVIF in chat will crash the Android app

#### To Reproduce
Steps to reproduce the behavior:
1. Send an animated AVIF from desktop/web
2. Open android app
3. Open the chat where the animated AVIF is
4. Android app crashes

#### Expected behavior
The app shouldn't crash

#### Smartphone (please complete the following information):
- Device: Samsung Galaxy S20 (SM-G980F/DS)
- OS: Android 11

#### Additional context
- This doesn't seem to happen with non animated AVIFs
- Here's an example of an animated AVIF file: https://gofile.io/d/UzUEJF

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.