JavaScript Programming Guide

This guide will navigate you through the SDK's basic features. You can review what is possible with the Kii SDK, and even get a head start with some sample code. After reviewing the guide, you'll be ready to dig into our SDK or check the JSDoc for more information.

Here are the steps to start developing your Android mobile apps.

  1. Integrate the SDK and prepare your environments.

    Follow the instruction in JavaScript Quick Start to set up the Kii Cloud and your local development environments. Also, set up the push notification environments as needed.

  2. Leverage Kii Cloud features

    Implement your mobile app by leveraging the necessary Kii Cloud features. For the overview of the available features, see Kii Cloud SDK.

    We also recommend you to read Implementation Guidelines before you start the actual implementation.

Difference between Kii Cloud SDK for JavaScript v2 series and v3 series

There are two versions of Kii Cloud SDK for JavaScript: v2 series (ver 2.x.x) and v3 series (ver 3.x.x). We basically recommend using v3 series. In particular, use v3 series for new development.

The differences between v2 series and v3 series are as follows:

  • A new feature KiiApplication is introduced in v3 series.
    • This feature allows multiple applications to be used simultaneously and multiple users to log in at the same time. For more information, please see Using KiiApplication (v3 series only) for more information.
  • Callbacks are no longer supported starting from v3 series; use Promise instead.
  • Titanium is no longer supported in v3 series.