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