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/8e8b7fbdae50...
, 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(a)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_notifi...
--
View this message in context:
http://aerogear-dev.1069024.n5.nabble.com/Sndroid-Background-push-notific...
Sent from the aerogear-dev mailing list archive at
Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev