element-hq / element-hq/element-android

[BUG] Crash when sending image

Open
#2,274 15 comments 0 reactions 1 assignee Claimed by @onurays View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Two cases when Element crashes:
- When sending image from the application.
- When sharing image from the Android's gallery with the share button and chose Element for this purpose, it also crashes.

**To Reproduce 1**
Steps to reproduce the behavior:
1. Go to app and open 1:1 chat with someone
2. Click on '+' button (next to the send button) and chose image from the gallery
3. Click the image to open it
4. The app crashes

**To Reproduce 2**
Steps to reproduce the behavior:
1. Go to Android gallery
2. Choose some image to share
3. Share with the Element app
4. The app crashes

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**
- Device: Xiaomi Mi4
- OS: Android 6.0.1

**Additional context**
- App versions: 1.0.9; 1.0.10; 1.0.11
- Homeserver: my own, v 1.23.0

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.