i am creating my QML project with Ovi notifications API (from QML). but i am facing a little problem concerning the notification icon.
When i receive a push notification i mark it as consumed with the following code
but sometimes for some reasons that i still cant figure it out, the icon doesn't disappear from the UI and still stuck in the interface!!
var messagelist = aNotification.id
notifications.markConsumed = messagelist;
so when a new notification is received and execute the latter code, it remove only the new notification and the previous one is still shown.
So how can i remove all notifications from the interface and not only the received one? is there any way to do it??? any code to delete all the pending notifications from the interface?
Thank you for any help.