Push notification ios

0 votes
Hi! I've implemented the push notifications on iOs, but the badge number on the icon isn't incrementing, what should I do?

the toast is arriving correctly
asked May 16, 2014 in App42 Cloud API-BaaS by service (10 points)

1 Answer

0 votes

Hi,

For auto increment of push badge count  you need to send a JSON like {"badge":"increment"} , this will increment push badge count by 1 everytime and to reset the value of push badge count you can use method of iOS like updatePushBadgeforDevice and updatePushBadgeforUser .

updatePushBadgeforDevice – This method is used to update push badge count of particular device registered of that user .
updatePushBadgeforUser – This method is used to update push badge count of all device of the user, for e.g. user having multiple device registered with same name 

Thank you!

answered May 16, 2014 by SACHIN25 (190 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...