healthjoy / async-firebase

The lightweight asynchronous client that makes interaction with Firebase Cloud Messaging oversimplified.
MIT License
37 stars 14 forks source link

feat: add notification_count field to AndroidNotification #43

Closed bokshitsky closed 1 year ago

bokshitsky commented 1 year ago

Hi, thanks for this library.

This PR adds notification_count field to android.notification object according to documentation https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidnotification

I want to merge it to the upstream since we need this field in our production code and I don't want to maintain my own fork of your library :)

feel free to add any comments, here is tests results

image