Documentation

Setting up for Native Applications

Warning: This is quite complex and will take some patience and focus to accomplish.
Plugins for various languages like Java, C++, C#, and Swift will come out that provide this functionality out-of-the-box, but right now they are not readily available. If you want to incorporate Scatter natively into your app it won't be as easy as importing a package and setting it up.


Native Desktop and Mobile applications can interface with Scatter directly using WebSockets. Because Scatter supports both socket-io and standard WebSockets there is a bit of extra work necessary to spoof the socket-io handshake when using standard WebSockets.

  • Check out the sub-menu items for more information about the process of interacting with Scatter natively.
  • This documentation is written in JavaScript as it's assumed most will either already know the language, or be able to use it as pseudo-code to understand the concepts.
  • If you want to see a full working implementation of this head over to the scatter-js SocketService.js source.
  • The API Reference sub-menu items also have a JSON switch which reveals what each API route expects in JSON format.