I receiving notification using GCM in android. When i get two notifications together, second replaces the first notification. How to stack the notification?
I tried different id for notify. hoe to solve this?
notify ( int id, Notification notification)
This problem generally occurs if the notification Id is same for 2 notifications.
Try giving timestamp as value to notificationId so that for every GCM message the
notification ID will be unique.
Just go through your code once,I think there might be some small mistake regarding
notification Id.
I hope it helps.