Supressing OS notification alerts

Hi guys,

I’m running an android application that uses push notifications and it works like a charm with one problem. When my application is active and I receive a notification, it gets handled by the app as it should. The problem is that at the same time the android OS shows a notification alert too. When I click the OS alert, the app gets restarted and the notification is handled for the second time. Is there a way to supress the OS from showing an alert when I receive a notification while the application is active?