Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blantonl opened this issue Dec 12, 2018 · 5 comments
Open

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

blantonl opened this issue Dec 12, 2018 · 5 comments

Comments

@blantonl
Copy link

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

@Jei
Copy link
Contributor

Jei commented Dec 12, 2018

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

@blantonl
Copy link
Author

I'm sending the following

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

@Jei
Copy link
Contributor

Jei commented Dec 13, 2018

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?

@blantonl
Copy link
Author

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.

@AlvinAshuSebu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants