MihaelIsaev / FCM

⚡️ PushNotifications through FireBase for Vapor 3 and 4.
MIT License
120 stars 33 forks source link

Added FCMError #10

Closed grahamburgsma closed 5 years ago

grahamburgsma commented 5 years ago

Currently there isn't a good way to handle the errors from the sendMessage response. Specifically, getting the FCM error code is important because UNREGISTERED should delete the token.

MihaelIsaev commented 5 years ago

Totally agree, thank you very much for your work!