element-hq / element-hq/element-android

App icon badge has incorrect notification count

Open
#6,258 0 comments 0 reactions 0 assignees View on GitHub
A-Notifications O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Have app icon badges enabled in Android's notification settings for Element.
3. Get two or more messages in a chat.
4. Check the app icon for the notification badge.

![The actual number of unread messages](https://user-images.githubusercontent.com/7773090/172555315-2cececec-fa9d-4d85-9d79-5043e9a78c99.png)

![The app icon badge counter says 1](https://user-images.githubusercontent.com/7773090/172555312-ced8aef4-2b9e-4c97-a19f-2e8a50d176c7.jpg)

### Outcome

#### What did you expect?

I expected the app icon badge counter to reflect the number of new/unread messages.

#### What happened instead?

The counter only said 1. I'm not sure if it reflects the number of chats with new messages, or if it'll always say 1 when there's unread messages.

### Your phone model

Samsung Galaxy S21 5G

### Operating system version

Android 12

### Application version and app store

1.4.16 [40104162] (G-b8288)

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

No

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.