Closed nbastoWM closed 7 years ago
I'm using this with React Native and everything is fine except for the incrementation of the badge number.
I tried to send notification.badge = +1 or notification.badge = "+1" but the badge number is always just 1.
notification.badge = +1
notification.badge = "+1"
I can't previously know what badge number is on the device so I can't send the exact number.
You cannot increment the badge number. You can only set a new badge number for each push notifications.
You must implement logic for increment badge in you Ruby application.
I'm using this with React Native and everything is fine except for the incrementation of the badge number.
I tried to send
notification.badge = +1
ornotification.badge = "+1"
but the badge number is always just 1.I can't previously know what badge number is on the device so I can't send the exact number.