[aerogear-dev] Sndroid Background push notifications not working
Sebastien Blanc
scm.blanc at gmail.com
Mon Jun 1 02:01:40 EDT 2015
Are you using the AeroGear Pushplugin or the "classic" one (pushplugin) ?
Anyway, could you check that this is set in your manifest :
https://github.com/jboss-mobile/unified-push-helloworld/blob/8e8b7fbdae50826265e1c22222d8a1b9a27e0b14/android/app/src/main/AndroidManifest.xml#L63
, that make sure you message arrives even when the app is not started (but
our plugin should set this for you)
On Sun, May 31, 2015 at 11:02 PM, delalis <delalis at gmail.com> wrote:
> Hello, Aerogear is sending android push notifications properly when the app
> is open (foreground) on an android device and the onNotificationGCM()
> function is being called successfully when the app is open. But it is not
> even putting a notification in the system notification tray when the app is
> in the background or not running at all...
>
> We are using phonegap and pushplugin on the client side and a lot of people
> on google are saying that if the server is not constructing the message
> payload structure properly, then Android devices will not create a
> notification in the android notification tray.
>
> Any suggestions???
>
> here is the link I found during my research suggesting maybe Aerogear isnt
> structuring message payloads properly for background notifications tray
> alerts...(scroll to bottom)
>
>
> http://community.phonegap.com/nitobi/topics/_pushplugin_background_notifications_dont_seem_to_work
>
>
>
>
> --
> View this message in context:
> http://aerogear-dev.1069024.n5.nabble.com/Sndroid-Background-push-notifications-not-working-tp11716.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150601/54284169/attachment.html
More information about the aerogear-dev
mailing list