I am using Cordova Framework and is there a way to clear the received notifications in the status bar on some button click event from within the app. Moreover, I am using OneSignal for Sending Push Notifications
The push plugin has a function, clearAllNotifications(), that provides this functionality. I have pasted a link to the documentation below.
phonegap-plugin-push/API.md at master · phonegap/phonegap-plugin-push · GitHub
Retrieving data ...