On Thu, Jul 17, 2014 at 12:34 PM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi Keith!


On Wed, Jul 16, 2014 at 7:05 PM, keithdmoore94 <keith@kdmooreconsulting.com> wrote:
Currently, the cordova push plugin sets the badge number to zero which clears
out the notifications upon launching the app.

What I am saying is that I would like for the badge number to be incremented
as the notification center receives the notification, not the mobile device
app.
yeah, the push plugin should set the arrived number. Can you file a ticket for that ? 

 

So in my server side application, I would like to be able to set the badge
number in the java push client to "increment" and then have the Aerogear
Push Server keep track of the badge number and increment it every time a
push notification is sent.

Nope, the push server won't keep track. It just delivers the given number to APNs.
The number can be totally different per user (e.g. number of messages in a messanger). 
I think what Keith means is that on installation level  the auto-increment badge number could be stored (and incremented).

 

In the mobile app, I can always call the method to decrement the badge
number upon receiving the notification.  Or even better would be to have the
aerogear cordova plugin do that for me when it sends the notification.

decrement (or setting back to zero) is app logic, and Apple treats it that way. 
IMO the Push Plugin should follow that as well

Thanks for sharing your toughts!

Greetings,
Matthias
 

Should I open a feature request for this in Jira ?



--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/Aerogear-Feature-Request-Auto-Increment-Badge-tp8396p8421.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev