[aerogear-dev] Push plugin fork with 3 enhancements for Android
Doctor Mistral
doctormistral at gmail.com
Tue Mar 28 11:57:49 EDT 2017
Hi Daniel, yes I'll do it!
N.
Il 28/03/17 15:12, Daniel Passos ha scritto:
> Hey Nando,
>
> Why not send a PR with those improvements?
>
> On Tue, Mar 28, 2017 at 7:14 AM, Doctor Mistral
> <doctormistral at gmail.com <mailto:doctormistral at gmail.com>> wrote:
>
> Hi all,
>
> i've just shared a fork (drmistral/aerogear-cordova-push 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.
>
> Here is my changes:
>
> 1. Set notifications number on app badge.
>
> - 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.
> - Number is displayed even in the badge shortcut if defined.
> - Of course behaviour depends on the device but I'm tested it
> in a set of devices with Android 4.4+ and it works.
> - It uses me.leolin.shortcutbadger.ShortcutBadger.
>
> 2. Launch app from click on notification.
>
> 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.
>
> 3. Update notification of "opened" stats on click on notification.
>
> In Android, notifications "opened" stats (visible from
> aerogear admin) were updated just when notification is
> received. Now (as for iOS) "opened" stats are updated when the
> notification is opened by clicking on it (that provokes app
> relaunch).
>
> Suggestions are welcome.
>
> Cheers
>
> Nando
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> <https://lists.jboss.org/mailman/listinfo/aerogear-dev>
>
>
>
>
> --
> -- Passos
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170328/bfc664e3/attachment-0001.html
More information about the aerogear-dev
mailing list