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

How to increment badge count when badge count is set from local notification ? #983

Closed
Steffi3rd opened this issue Apr 15, 2020 · 2 comments

Comments

@Steffi3rd
Copy link

Steffi3rd commented Apr 15, 2020

Hi,

I successfully install React Native One Signal on my iOS. I’m very glad about it, because docs was very good to follow. 🥳

My badge count is normally on new push notification.

But I found that my push (remote) notification do not increase badge when badge is already set by local notification.

Instead, it reset it to 1 then increase only IF another push (remote) notification is received.

Otherwise, Local notification do the same thing. If I a « 3 » on badge count, it will reset to 1 if a Local notification is received.

Is there a way to solve that please?

Local Notification : https://github.com/react-native-community/push-notification-ios

Remote Notification : https://github.com/OneSignal/react-native-onesignal

@rgomezp
Copy link
Contributor

rgomezp commented Apr 21, 2020

Howdy,
Thanks for your comments.

Take a look at this open issue with React Native. If you comment over there, hopefully we can get this issue resolved!

@rgomezp
Copy link
Contributor

rgomezp commented Oct 27, 2020

Closing this issue since it is dependent on the issue noted above. Please follow the status of it there.

Enjoy!

@rgomezp rgomezp closed this as completed Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants