element-hq / element-hq/element-android

App saves and opens .csv files as .xls, which fails

Open
#3,110 0 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
When sending a csv file via element (from desktop to mobile), the file gets saved (and opened) as an xls, which fails.
The reverse, android to desktop, doesn't have that problem.

#### To Reproduce
Steps to reproduce the behavior:
1. On desktop: Send a csv file to a user
2. On mobile, as the other user: Open or save that file
3. If saved, open the resulting *.xls file
4. See error (File corrupted or not supported)

#### Expected behavior
It opens as a csv file.

#### Screenshots
I don't think it matters, but I can provide them if need be.

#### Smartphone (please complete the following information):
- Device: Tested on a Samsung S10 and a Mi 9T Pro
- OS: [Android 10 and Windows 10]

#### Additional context
- App version and store [1.1.3 - Play Store]

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.