<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333399">
<font face="Helvetica, Arial, sans-serif">Hi Daniel, yes I'll do it!
<br>
<br>
N.<br>
</font><br>
<div class="moz-cite-prefix">Il 28/03/17 15:12, Daniel Passos ha
scritto:<br>
</div>
<blockquote
cite="mid:CADF=h2v22XuEv6kqNW=X6_a3iM4+eiEuqxudK=qCgP3JVskN0g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hey <font face="Helvetica, Arial, sans-serif">Nando,<br>
<br>
</font></div>
<font face="Helvetica, Arial, sans-serif">Why not send a PR with
those improvements?<br>
</font></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 28, 2017 at 7:14 AM, Doctor
Mistral <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:doctormistral@gmail.com" target="_blank">doctormistral@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#333399"> <font
face="Helvetica, Arial, sans-serif">Hi all, <br>
<br>
i've just shared a fork (</font><font face="Helvetica,
Arial, sans-serif"><font face="Helvetica, Arial,
sans-serif">drmistral/aerogear-cordova-<wbr>push </font>from
Release 3.1.0) containing some enhancements and
alignments with iOS side for the Android side of
aerogear-cordova-push plugin. Hope you may find it
useful. <br>
<br>
Here is my changes:<br>
<br>
1. Set notifications number on app badge.<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif">- As
in the iOS side, when the app is in background it is
possible to set the badge number from the same
callback that is defined for iOS. <br>
- Number is displayed even in the badge shortcut if
defined.<br>
- Of course behaviour depends on the device but I'm
tested it in a set of devices with Android 4.4+ and it
works.<br>
- It uses me.leolin.shortcutbadger.<wbr>ShortcutBadger.<br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif">2. Launch app
from click on notification.<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif">This
feature was supposed to be present but unfortunately I
never get it working so I decided to check it and fix
it. Now it seems working fine.</font><br>
</blockquote>
3. Update notification of <font face="Helvetica, Arial,
sans-serif">"</font><font face="Helvetica, Arial,
sans-serif">opened"</font> stats <font face="Helvetica,
Arial, sans-serif">on click on notification.<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif">In
Android, notifications "</font><font face="Helvetica,
Arial, sans-serif"> opened" stats (visible from
aerogear admin) were updated just when notification is
received. Now (as for iOS) </font><font
face="Helvetica, Arial, sans-serif">"opened" stats are
updated when the notification is opened by clicking on
it (that provokes app relaunch).<br>
<br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif">Suggestions are
welcome.<br>
<br>
Cheers<br>
<br>
Nando<br>
</font> </div>
<br>
______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">-- Passos<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
</blockquote>
<br>
</body>
</html>