invertase / notifee

⚛️ A feature rich notifications library for React Native.
https://notifee.app
Apache License 2.0
1.88k stars 228 forks source link

Incorrect number returned by getBadgeCount() #987

Closed tao-qian closed 5 months ago

tao-qian commented 9 months ago

Our iOS app receives push notification with a badge payload, which would change the badge count on the app without going through our app code. However, when calling getBadgeCount() after opening the app, the returned number is still 0. At the same time, calling setBadgeCount(0) also won't clear the badge on the app.

This is not reproducible when the notification is received while the app is in foreground, in which case the badge count would be incremented by us, instead of the system code.

It seems like the system badge count is out of sync with the "internal notifee badge count". Has anyone else run into similar problems?

github-actions[bot] commented 8 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

tao-qian commented 8 months ago

bump

github-actions[bot] commented 8 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

tao-qian commented 8 months ago

bump

github-actions[bot] commented 7 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

tao-qian commented 7 months ago

bump

github-actions[bot] commented 6 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.