Hello, i'm using the "iamyellow gcmjs" module to receive push notifications on Android. The PHP-Script for sending works fine and Google Servers say no Error, but the message i've sended doesn't appear on the Phone. I know that in the ti.CloudPush module you have to turn the Pushnotifications on, to receive the push notifications. Do i have to do this in that modul, too? And if yes, how? Thanks!
gcm.registerForPushNotifications({ success: function (ev) { // on successful registration alert('Success! your device Token is: ' + ev.deviceToken); }, error: function (ev) { // when an error occurs alert('******* error, ' + ev.error); }, callback: function () { // when a gcm notification is received WHEN the app IS IN FOREGROUND alert('hellow yellow!'); }, data: function (data) { alert('******* data (resumed) ' + JSON.stringify(data)); } });