I have an android app which can send notification to firebase and send messages to clients. My problem is how to get the BADGE COUNT which are responded by firebase ( how can I get the data which was in mBundle and map encirlced in the image). Please see the image, and explain me how to get that badge count.
I need that badge to display, update, and remove the count of notification in my application.
https://i.stack.imgur.com/a2wXZ.png
Which remoteMessage.getData() returns null. Thank you so much