When minimize the app all notifications disappear!

I’m building ionic 3 application to receive push notifications , I’m using “phonegap-plugin-push” , now if notification comes while app is foreground and I minimize the app all notifications disappear from the bar !!
any solution for this problem ?

any helping ???

@wwyy Is your platform Android? I don’t know if this solves the issue, but you could give it a try:

this.push.init({ android: { ..., clearNotifications: false }});

From the docs:

Optional. If true the app clears all pending notifications when it is closed.

Although it says closed, not minimized, but sometimes the app is killed by the OS when in background. You could give it a try.