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

Incorrect Notification Badge Count on Android Devices with Expo React Native #1671

Open
1 of 2 tasks
JeetuChoudhary opened this issue Mar 23, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@JeetuChoudhary
Copy link

JeetuChoudhary commented Mar 23, 2024

What happened?

I am facing an issue with the notification badge count on the Android device. The problem arises when a notification is received on the device. Instead of accurately reflecting the number of notifications in the badge count, it displays 2 even though the actual number of notifications present in the notification center is 1.

Steps to reproduce?

1. Set up an Expo React Native application.
2. Integrate OneSignal for push notifications.
3. Send a notification to the Android device.
4. Observe the badge count displayed on the app icon.

What did you expect to happen?

The badge count on the app icon should accurately reflect the number of notifications present in the notification center. For example, if there is one notification in the notification center, the badge count should display as 1.

React Native OneSignal SDK version

Release 5.0.3

Which platform(s) are affected?

  • iOS
  • Android
@JeetuChoudhary JeetuChoudhary changed the title [Bug]: Incorrect Notification Badge Count on Android Devices with Expo React Native Incorrect Notification Badge Count on Android Devices with Expo React Native Mar 24, 2024
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

1 participant