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

data.alert required #49

Closed
bert-w opened this issue Apr 20, 2017 · 1 comment
Closed

data.alert required #49

bert-w opened this issue Apr 20, 2017 · 1 comment

Comments

@bert-w
Copy link

bert-w commented Apr 20, 2017

Can you elaborate the following implementation:

Log.i(LCAT, "Not showing notification cause missing data.alert");

Is the alert property meant to be the body property as seen here:

https://firebase.google.com/docs/cloud-messaging/http-server-ref#notification-payload-support

I'm confused why it is required. Can you put something in the docs for this or clarify here?

@progress44
Copy link
Contributor

@Bertuzb Yes the alert property is meant to be the body of the notification. The module requires alert to keep compatibility with iOS

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

2 participants