is it possible to do not display or even cancel remote notification after receive it on device from code?
So I will send silent push notification from my server and then based on payload I will show or not local notification alert with sound. What do you think?
I know how to clear existing notifications but I mean cancel before this notification appears in UI. Maybe I was not so precise in my question.
Tx for help.