[aerogear-dev] Aerogear Feature Request - Auto Increment Badge

Matthias Wessendorf matzew at apache.org
Thu Jul 17 07:07:58 EDT 2014


On Thu, Jul 17, 2014 at 12:39 PM, Sebastien Blanc <scm.blanc at gmail.com>
wrote:

>
>
>
> On Thu, Jul 17, 2014 at 12:34 PM, Matthias Wessendorf <matzew at apache.org>
> wrote:
>
>> Hi Keith!
>>
>>
>> On Wed, Jul 16, 2014 at 7:05 PM, keithdmoore94 <
>> keith at 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).
>

Ok, that means we always increment? but what if the sales agent gets three
new brochures on Monday, two on Tuesday.
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).

-Matthias


>
>
>>
>>>
>>> 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 at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140717/22d0aecf/attachment.html 


More information about the aerogear-dev mailing list