/Communicator

An apache cordova plugin providing functionality for service advertisement over a local network and socket communication.

Primary LanguageObjective-C

Communicator Apache Cordova

Communicator Cordova Plugin, provides ability for hybrid apps to advertise presence over LAN and respond to server sent commands.

Platforms supported

  • iOS v.6.0 or later

How to use?

To install this plugin, follow the Command-line Interface Guide.

  • Installation

cordova plugin add https://github.com/e2l3n/Communicator.git
  • Uninstallation:

cordova plugin rm com.tomapopov.WAUCommunicator

Javascript API

APIs:

broadcast(options, success, fail);
listen(options, success, fail);

enableCaching(options, success, fail);

Check the javascript interface Communicator.js for more information.

Example code

Check the [Xcode Demo project] (https://github.com/e2l3n/Communicator-DemoApp).