What happened?
I'm trying to override onNotificationReceived as suggested by the docs in order to manually set the notification badge number.
The provided repo works fine on the emulator, but on Samsung devices (tested with Android 14 and One UI 6.1) it does not override the default behavior of incrementing the count. I've also noticed that other methods like setColor and setProgress do work.
Screenshots
The correct behavior on the emulator:

The count on the phone:

Steps to reproduce?
1. Clone the repo https://github.com/gmtavora/onesignal-samsung-bug;
2. Change the app ID on App.tsx;
3. Install the app on a Samsung phone;
4. Send a push notification.
What did you expect to happen?
The badge number is not set to 10, as it should be (previously defined in NotificationServiceExtension.java).
React Native OneSignal SDK version
Release 5.2.6
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
What happened?
I'm trying to override onNotificationReceived as suggested by the docs in order to manually set the notification badge number.
The provided repo works fine on the emulator, but on Samsung devices (tested with Android 14 and One UI 6.1) it does not override the default behavior of incrementing the count. I've also noticed that other methods like setColor and setProgress do work.
Screenshots
The correct behavior on the emulator:
The count on the phone:
Steps to reproduce?
What did you expect to happen?
The badge number is not set to 10, as it should be (previously defined in NotificationServiceExtension.java).
React Native OneSignal SDK version
Release 5.2.6
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct