Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Badge number for mobile application correctly #3361

Open
2 tasks
hoangdat opened this issue Dec 18, 2024 · 4 comments
Open
2 tasks

Update Badge number for mobile application correctly #3361

hoangdat opened this issue Dec 18, 2024 · 4 comments
Assignees
Labels
bug Something isn't working customer

Comments

@hoangdat
Copy link
Member

hoangdat commented Dec 18, 2024

Description

image

  • Right now, badge number is set by the system, we don't have any logic to update it correctly.
  • User concerns about this number, even he read all emails, number still show.

DoD:

  • Update number with a consistent logic (But, what logic?)
  • Update correct number if user read email from other client devices

Cf: https://github.com/Yash18-hub/CISD-GES/issues/108

So, what we will display for this? unread of Inbox? or unread of all folders? @chibenwa

@hoangdat hoangdat added bug Something isn't working customer labels Dec 18, 2024
@chibenwa
Copy link
Member

What does GMAil do?

or unread of all folders?

Nope

unread of Inbox?

Nope

What they do is the number of unread email in my INBOX, arrived since the last time I opened the app.

@tddang-linagora tddang-linagora self-assigned this Dec 26, 2024
@tddang-linagora
Copy link
Contributor

tddang-linagora commented Dec 26, 2024

  • Clear badge number and all notifications on open app (from background/terminated)
  • On notification come, try to get current number of unread emails in "inbox" update badge number to "EmailDelivery" number of emails
    • If succeed, update badge number
    • If fail, keep badge number as is

@chibenwa
Copy link
Member

Clear badge number and all notifications on open app (from background/terminated)

Ok yes

On notification come, try to get current number of unread emails in "inbox"

No. If i have 23428 unread mail in m'y inbox don't. WE do not care about old mails for this counter. Let's only count email received in the inbox when the background.

Simply count the number of EmailDelivery push notifications when app is in background. Simple...

@tddang-linagora
Copy link
Contributor

Simply count the number of EmailDelivery push notifications when app is in background.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer
Projects
None yet
Development

No branches or pull requests

3 participants