I am trying to make notification based on firebase messaging, everthing is working except "icon with number of notification" I need to get same as I attached image.
this is the code I used
n. Initialize
n. Sound=True
n. Icon = "icon"
n. Number= n. Number+1
n. Vibrate=True
n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("body"), Main)
n.Notify(1)
If any one could support it will be highly appreciated
I experienced that the "wrong" icon is displayed when you send a push via firebase console. The correct icon only appears if you use the api to send the push.
Don't know if this is related to your number problem, but might be...
Are you sure that you are checking the correct icon? It is the one in the system bar. The image you posted of the Facebook icon is based on non-standard APIs.
Allthough Nooruls question isn't related to this, i'd like to point out, that the notification is related to the push.
I noticed that when i saw that my custom LED color wasn't blinking like it should. When your app is in the foreground everything is ok. But when your app is in the backround the custom parts of the notification only work when you send the push via API. When you send the push via FireBase Console they are not working.
Allthough Nooruls question isn't related to this, i'd like to point out, that the notification is related to the push.
I noticed that when i saw that my custom LED color wasn't blinking like it should. When your app is in the foreground everything is ok. But when your app is in the backround the custom parts of the notification only work when you send the push via API. When you send the push via FireBase Console they are not working.