Skip to content

khoadp/kandy-titanium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Kandy Module

Kandy is a full-service cloud platform that enables real-time communications for business applications. io.kandy is a Titanium module that makes it easy to use Kandy API with Titanium project.

Kandy homepage: kandy.io

Supported Platforms

  • Android
  • IOS (coming soon)

Installation

View the Using Titanium Modules document for instructions on getting started with using this module in your application.

Edit the modules section of your tiapp.xml file to include this module:

  <modules>
    <module platform="android">io.kandy</module>
  </modules>

Then, change $PACKAGE_NAME variable in timodule.xml to your package name.

Getting Started

To access this module from JavaScript, you would do the following (recommended):

	var Kandy = require('io.kandy');

The "Kandy" variable is now a reference to the Module object.

Then, you have to initialize KandyAPI to use in the values/kandy_config.xml of the module

  <resources>
    <string name="kandy_api_key">Your api key here.</string>
    <string name="kandy_api_secret">Your secret key here.</string>
  </resources>

or at run-time

  Kandy.setKey("your api key here", "your secret key here");

For usage see the code in the example folder.
Documentation can be found here.

Contributors

Legal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published