amazon sns - Empty payload when sending push notifications from AWS SNS -
i'am using gcm android app send push notification,when send message aws sns console receive notification payload parameter empty below:
{     "type": "callback",     "source": {         "pushtype": "gcm",         "invocationapis": [],         "bubbleparent": true,         "showtraynotification": true,         "enabled": false,         "__propertiesdefined__": true,         "singlecallback": false,         "_events": {             "callback": {}         },         "focusapponpush": false,         "debug": false,         "showappontrayclick": true,         "showtraynotificationswhenfocused": false,         "apiname": "ti.module"     },     "payload": "",     "bubbles": false,     "cancelbubble": false }   to receive notification,i have written code:
 cloudpush.addeventlistener('callback', function (evt) {      alert("notification received: "+evt.payload);    });   so,how can payload message send aws sns console?
 
 
Comments
Post a Comment