I have now implemented Firebase Cloud Messaging (FCM) on both my iOS and Android clients - and my server backend (C#), using the Firebase Admin SDK.
I have a problem when sending push messages, sometimes the "Badge" value for iOS is ignored - I set the value on the Message() object before sending it, but for some reason every now and then it is not updated.
I keep a log of all messages sent to my client, so I can check what the value is - but sometimes its not updating the badge value.
The notification is displayed every time - and even if some of the notifications ALSO has the Badge value set - it only displays the noification, but badge is not updated.
Any idea what could be wrong ?