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

How to show multiple notifications individually in android? #181

Closed
liuzhen2008 opened this Issue Sep 30, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@liuzhen2008

I am using node-gcm on my server side implementation.

I sent out (These are what i see in push.on("notification", function(data) { }) )

{
"message": "first one",
"additionalData": {
"notId": "123"
}
}
and
{
"message": "another one",
"additionalData": {
"notId": "456"
}
}

But the second notification will replace the first one in the notification tray..

Is there anything I am missing? Are there some other parameters that dictate notification replacement?

@liuzhen2008

This comment has been minimized.

Show comment
Hide comment
@liuzhen2008

liuzhen2008 Sep 30, 2015

I don't know what i am talking about!

I was trying notId: Date.now() assuming they will be different each time.

But then i realized that Date.now() probably is too large to be int ..

I don't know what i am talking about!

I was trying notId: Date.now() assuming they will be different each time.

But then i realized that Date.now() probably is too large to be int ..

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot Jun 5, 2018

This thread has been automatically locked.

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.