react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

App Icon Badge not gets increment or decrement when notification came in IOS

Open FayyazAliKhan1 opened this issue 2 years ago • 0 comments

App Icon Badge Issue:

I have searched a lot about this issue, Followed all the steps mentioned in the documentation. I have reviewed the steps of adding the App groups capability many times and it always seems fine, this issue is from a very long time in IOS.

Enviorment Dev & Production OneSignal React-Native SDK 4.3.11 Followed all the steps mentioned in documentation, not a single step is left

I have also sent ios_badgeType: 'Increase', ios_badgeCount: 1 when sending notification from backend but it only increase 1 it's not updating to 2

I have this issue as well that setNotificationWillShowInForegroundHandler event is called twice, once a notification is received. I have used this in useEffect of app.js

Please give me a proper solution about this Thanks

FayyazAliKhan1 avatar Jul 15 '22 09:07 FayyazAliKhan1