android - Increment push notification number -


i use parse.com android app's backend. send push notifications users using parse cloud code. when send multiple pushes user, gets multiple push notifications, how increment number in notification in phone rather making multiple notifications appear?

when publish notification, specify id, (the number 123 in example):

intent notificationintent = new intent(mactivity, notificationpublisher.class);         notificationintent.putextra(notificationpublisher.notification_id, 123); 

if want send new notification, , replace one, make sure set same id when send new notification (which replace existing notification new content)


Comments

Popular posts from this blog

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

yii2 - Yii 2 Running a Cron in the basic template -

mercurial graft feature, can it copy? -