Closed dannynash closed 6 years ago
Is it preventing you to receive push notifications ?
You may receive messages from Google servers that aren't push notifications. They are not handled by this library yet.
All messages are interpreted as notifications and as such it always tries to convert the incoming message to a notification. If it fails, the above error messages are shown so that you know that you received another kind of messages but it has no effect on your ability to receive notifications.
OK, got it.
Maybe the first notification was packaged in other type, did it happened with you before?
I will read fcm or gcm document to check it out. Thanks again!
Yes as long it's not preventing you to receive notifications, you're good to go.
You won't find it in the FCM/GCM documentation. The API used in this library is undocumented.
I think this is a bug actually - going to create an issue with an explanation.
Hi, thanks for the great library.
I found that my program got exception message in two cases.
After register and token
As soon as listen the socket, I got exception in onMessageReceived in file /src/client/socket/index.js.
Server send first message
Same exception in same function, but it works in following message.