[Aerogear-users] Unified Push Server - Anyway to delete notifications when in background?

Rob Willett rob.aerogear at robertwillett.com
Thu Nov 26 09:07:34 EST 2015


We think we’ve published the Perl sample on gitgub 

Please look and see if you can see it. Feel free to use it as you will.

Now we know how it works, we’ll upload other samples as we can an d 
that people may find useful.

Any changes please let me know.


On 25 Nov 2015, at 10:07, Matthias Wessendorf wrote:

> On Wed, Nov 25, 2015 at 10:14 AM, Rob Willett <
> rob.aerogear at robertwillett.com> wrote:
>> Hi,
>> We’ve got the Unified Push Server working on the OpenShift 
>> platform.
>> No real issues once we’d understood the point of aliases.
>> We can send notifications quite happily and see whats going on. We 
>> use
>> Perl for our backend servers and so we wrote a small Perl interface. 
>> If
>> anybody wants the code for the Perl interface let me know and we’ll
>> pass it on. We can’t claim a lot of credit for a simple piece of 
>> code
>> :)
> sure, I think that would be awesome, if you could publish it on 
> github.
> We will promote if for other perl users!
>> Anyway, one of edge use-cases would be to delete notification or set 
>> of
>> notifications when the app is running but in the background on iOS.
>> We want to do this as the user can receive a high number of
>> notifications (> 10) when the app is in the background. Notifications
>> come in groups and provide traffic updates, so a user may get a new
>> group of 3-4 traffic updates, this new group completely supersedes 
>> ANY
>> previous update. Our data is valuable when fresh and useless when 
>> over
>> 10 minutes old.
>> Whilst we can simply ignore old notifications, UX testing has shown 
>> the
>> users don’t like having old notifications sitting round. We know 
>> that
>> the users can delete them individually or delete the lot from the
>> notification drawer OR can simply bring the app out of the background
>> BUT they don’t like doing that.
>> So what we want to do is delete old notifications, we were hoping for
>> the ability to call a JavaScript function with say a parameter to
>> identify notifications by a group or something, but we could accept
>> deleting the lot and inserting local notifications instead.
>> We know that we can send content-available and have stuff pulled from 
>> a
>> server in the background. This option is quite difficult for us and 
>> has
>> some complexity identifying when the app is not started up. The 
>> simplest
>> option is delete some or all of the notifications.
>> Does anybody know if this is possible or any other suggestions?
> I think that's an interesting idea. Erik Jan recently did an update 
> for
> message, on Cordova, to actually stack em:
> https://github.com/aerogear/aerogear-cordova-push/pull/81
> Perhaps we could have a 'delete' feature too. Mind filing a JIRA 
> against:
> https://issues.jboss.org/projects/AGCORDOVA
> (you need to have an account in order create tickets)
> Cheers!
> Matthias
>> Thanks
>> Rob
>> _______________________________________________
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-users
> -- 
> Matthias Wessendorf
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users

More information about the Aerogear-users mailing list