Open blantonl opened 5 years ago
Could you post the payload of the notification you are trying to send?
I'm sending the following
{
"GCM": "{ \"data\": { \"title\": \"My Alert\",\"alert\": \"The Alert\",\"sound\": \"modat\", \"vibrate\": true, \"iconb\": \"bcfy\", \"force_show_in_foreground\": true} }"
}
That "GCM" top level doesn't seem right. Could you try this test with your API KEY and device ID and see if the notification is received correctly?
That example works.
I was using Amazon SNS to send a legacy GCM push.. supposed to be backwards compatible with FCM but I guess ti.goosh uses a custom payload.
Hi,
Do we have any update on this. I have added the notificationChannel and still receive no push in background and also when I receive push in foreground, the payload returns null.
PUSH received: {"c.i": "null"}
On pushing a notification to my app this is the only thing that is logged
[WARN] : W/ti.goosh.IntentService: Show Notification: FALSE
No push notification occurs after this and the push data logged as received is:
PUSH received: {"c.i": "null"}