Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

Name of the remote notification

$
0
0

Hi. I'm receiving remote notifications perfectly. With the app closed or opened.

But, when the user clicks the notification, the app is opened with the PushEvents1.StartupNotification assigned (if it's closed) or the event PushEvents1PushReceived is fired.

Everything in this scenario is perfect.

But.. the notification is not erased from the notification area. So i use the method NotificationCenter1.CancelAll. But it's erase all the notifications from my app. if i received other, i'll be gone too. The correct is to use the method NotificationCenter1.CancelNotification(), but it asks for the name of the notification. How i can get the name of the remote notification to cancel it?

 


Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>