0

Recently an application I built using SocketIO stopping sending messages to clients out of the blue, and the message NotRegistered appears in the console whenever a message is sent. Everything else works fine, and the server has no trouble receiving requests.

One quick thing to note, the only clients having issues are ones on mobile devices (e.g iOS/Android) using the respective native mobile socket.io library.

io.sockets.emit("newMessage", {removed: removed, room: room, userID: removed, name: removed, message: messageContent});
Jordan Osterberg
  • 289
  • 3
  • 18

1 Answers1

0

The NotRegistered console message comes from a FCM/GCM token being invalid, and the clients receiving the messages were two completely separate client side bugs (Missing variables and a typo).

Jordan Osterberg
  • 289
  • 3
  • 18