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

Increase the IOS app badge number automatically by 1. #391

Open
mohammad-goldast opened this issue Feb 5, 2023 · 1 comment
Open

Increase the IOS app badge number automatically by 1. #391

mohammad-goldast opened this issue Feb 5, 2023 · 1 comment

Comments

@mohammad-goldast
Copy link

Hello there.

I have an issue with calculating the count of unread local and remote notifications.

I can not handle the unread notification badge number and calculate the next number.
Some of the users' notifications are sent by our marketing panel (remote) and also users have their local notifications.
And I need to handle both of these types and calculate the next number of the app icon badge.

I know this library provides setApplicationIconBadgeNumber but it doesn't help me with this issue.
When some notifications send from our marketing panel, the app isn't open and I can not calculate the next badge number manually (by getting the previous badge number and increasing it by 1).

I need an automatic way to increase the badge number without any calculation. and it should work for local and remote notifications.

Is there any solution?
Can someone help me with this issue?

@Mukthayar1
Copy link

@mohammad-goldast did you find any soloution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants