Bit6 with Intel XDK

It is very easy to add WebRTC calling and IP messaging to your app in XDK using Bit6.


Sample App

The easiest way to get started is using our demo application. Download or clone the demo app to a local directory:

git clone


XDK login

Project Configuration

XDK import project

XDK build settings

Android only

iOS only

XDK iOS provisioning profile

Set API Key

Go to Develop tab, open www/js/index.js file and set your Bit6 API Key

// Init Bit6 SDK
var opts = {'apikey': 'myApiKey'};

Add Bit6 Plugin

Add Bit6 Plugin

Add Push Plugin

Add Push Plugin

Test and Build


The quickest way to test the app is using Emulate tab. This option runs the app in a browser window. Most of the Bit6 capabilities are supported.


Currently this option works only for Android devices. XDK does not support third-party plugins in the iOS App Preview.

To run the app on Android (and later on iOS) you will need to install and run AppPreview on the device.

Complete documentation about testing and debugging is available in XDK docs. Here is the summary of the required steps:

AppPreview Get Started

AppPreview Started


Using Sample App

The sample application allows you to create users and let them send rich messages (text, photo, video) to each other as well as make voice and video calls.

Create a new user, or use an existing one.

IP Messaging

Create a new chat 'Direct' or 'Group'

In the chat screen you can make video/voice calls, send/receive text messages and attachments, see typing notifications.

Video/Voice Calling

Next Steps