0

I have use featherjs in server-side, unfortunately , feathers-client in android not supported anymore.So , i think i need to use only socket.io-client to listen to feathers serivce event, but i don't know how to do it

1 Answers1

0

The direct Socket.io API is documented here and the listening to custom events section shows how to listen to a custom event:

socket.on('messages myevent', function(data) {
  console.log('Got myevent event', data);
});

Make sure event channels are set up accordingly.

Daff
  • 43,734
  • 9
  • 106
  • 120