I am creating a notification system that pushes multiple notifications through a FOR loop. Logcat shows that I am creating multiple notifications (The phone even sends two ringtones corresponding to each one). But the notification bar only shows the last one. I read the documentation and it says that calling NotificationManager.notify takes a unique Id and if this Id exists, then the notification will be replaced with the new one. I used a unique GUID for each notification but still no success.
notificationManager.notify(notification.getInt("id"), n);
Any suggestions I can work with? Could it be the PendingIntent part of the notification?
Thanks in advance.