Communicate with Websockets in a NativeScript Angular Application


I’ve been playing around a lot with websockets. A lot of people think it is the future for communicating between devices, games, websites, etc. versus the RESTful API alternative.

I wrote a tutorial on how to use the websocket plugin by @NathanaelA to communicate in a chat-like manner between a websocket server and other devices or platforms running your NativeScript application.

The tutorial for creating the above websocket chat application using NativeScript and Angular can be found below. It includes explanations and source code examples used along the way.