I am receiving only one notification and if there comes another notification, it replaces the previous one and here is my code
private static void generateNo
just replace your line with this
notificationManager.notify(Unique_Integer_Number, notification);
hope it will help you.