<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 12:39 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">
<div class="">On Thu, Jul 17, 2014 at 12:34 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Keith!<div><br></div><div><div class="gmail_extra">
<br><div class="gmail_quote"><div>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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><div>yeah, the push plugin should set the arrived number. Can you file a ticket for that ? </div><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><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></div></div></blockquote></div><div>I think what Keith means is that on installation level  the auto-increment badge number could be stored (and incremented).</div></div></div></div></blockquote><div><br>
</div><div>Ok, that means we always increment? but what if the sales agent gets three new brochures on Monday, two on Tuesday.</div><div>IMO there is zero value in having our server apply some magic. The meaning of the badge number is in most cases really something that the business backend already knows (Mr. T has 12 new mails).<br>
</div><div><br></div><div>-Matthias</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div>
</div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><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> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><div>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" target="_blank">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></div><span><font color="#888888"><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>
</font></span></div></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></blockquote></div></div></div><br></div></div>
<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></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>