ti.goosh icon indicating copy to clipboard operation
ti.goosh copied to clipboard

[WARN] : W/ti.goosh.IntentService: Show Notification: FALSE

Open blantonl opened this issue 5 years ago • 5 comments

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"}

blantonl avatar Dec 12 '18 15:12 blantonl

Could you post the payload of the notification you are trying to send?

Jei avatar Dec 12 '18 15:12 Jei

I'm sending the following

{
"GCM": "{ \"data\": { \"title\": \"My Alert\",\"alert\": \"The Alert\",\"sound\": \"modat\", \"vibrate\": true, \"iconb\": \"bcfy\", \"force_show_in_foreground\": true} }"
}

blantonl avatar Dec 12 '18 15:12 blantonl

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?

Jei avatar Dec 13 '18 09:12 Jei

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.

blantonl avatar Dec 13 '18 17:12 blantonl

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"}

AlvinAshuSebu avatar Jun 13 '19 12:06 AlvinAshuSebu