<div dir="ltr">Hi Keith!<div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 16, 2014 at 7:05 PM, keithdmoore94 <span dir="ltr">&lt;<a href="mailto:keith@kdmooreconsulting.com" target="_blank">keith@kdmooreconsulting.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently, the cordova push plugin sets the badge number to zero which clears<br>
out the notifications upon launching the app.<br>
<br>
What I am saying is that I would like for the badge number to be incremented<br>
as the notification center receives the notification, not the mobile device<br>
app.<br></blockquote><div>yeah, the push plugin should set the arrived number. Can you file a ticket for that ? </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
So in my server side application, I would like to be able to set the badge<br>
number in the java push client to &quot;increment&quot; and then have the Aerogear<br>
Push Server keep track of the badge number and increment it every time a<br>
push notification is sent.<br></blockquote><div><br></div><div>Nope, the push server won&#39;t keep track. It just delivers the given number to APNs.</div><div>The number can be totally different per user (e.g. number of messages in a messanger). <br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In the mobile app, I can always call the method to decrement the badge<br>
number upon receiving the notification.  Or even better would be to have the<br>
aerogear cordova plugin do that for me when it sends the notification.<br></blockquote><div><br></div><div>decrement (or setting back to zero) is app logic, and Apple treats it that way. </div><div>IMO the Push Plugin should follow that as well</div>
<div><br></div><div>Thanks for sharing your toughts!</div><div><br></div><div>Greetings,</div><div>Matthias</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Should I open a feature request for this in Jira ?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/Aerogear-Feature-Request-Auto-Increment-Badge-tp8396p8421.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/Aerogear-Feature-Request-Auto-Increment-Badge-tp8396p8421.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div></div>