Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

How to show multiple notifications individually in android? #181

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

How to show multiple notifications individually in android? #181

liuzhen2008 opened this issue Sep 30, 2015 · 2 comments

Comments

@liuzhen2008
Copy link

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
Copy link
Author

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
Copy link

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.
Labels
None yet
Development

No branches or pull requests

1 participant