1

I need to remove or recall push notification already sent using FCM API is there any way or workaround to delete or recall unread notification that sent via api

1 Answers1

2

You can use the collapse_key and replace the notification or yet send another notification with empty body.

Diego Desenvolvedor
  • 378
  • 1
  • 6
  • 22
  • but notification still already exist i need to remove it – Mohsen Elzomor Feb 17 '21 at 15:36
  • @MohsenElzomor sorry, It's written 'to remove or recall' on the question description. btw, did you checked this? https://stackoverflow.com/questions/45140856/fcm-remove-older-push-notifcation-tiles-when-a-new-push-notiifcation-is-reciev/45141994#45141994 – Diego Desenvolvedor Feb 17 '21 at 18:18
  • many thanks, i tried giving tag property with " " null title and body it's update the old title and body with " " but still notification already exist, is there any way to remove this notification instead of renotify? – Mohsen Elzomor Feb 18 '21 at 09:41