JavaScript Application Development Guide
This guide presents the features of the Thing-IF SDK with some sample code. Please check the JSDoc for the detailed explanation on the features.
Develop apps which run on the web browser with the Thing-IF SDK for JavaScript. Note that the Thing-IF SDK for JavaScript supports only mobile app development. You cannot implement thing-side programs with it.
Web apps are sometimes called mobile apps in this guide. You can use these apps on the web browser running on PC as well within the specification stated in SDKs and Supported Environments.
Please follow these guides to start implementing your app with the Thing-IF SDK for JavaScript.
Choose the development environment and language
Read Choosing the Development Environment and Language to choose the development environment and language for your mobile app. You can choose from TypeScript and JavaScript.
Integrate the SDK and prepare your development environment
Follow Quick Start to set up Thing Interaction Framework/Kii Cloud, local development environments, and push notification environments.
Check the guideline
Read Implementation Guidelines to get the grasp of mobile application implementation.
Implement the initialization code
Follow Initializing and Onboarding to implement the initialization code of the Kii Cloud SDK and Thing-IF SDK into your application. Also, bind the thing with the web app user.
Implement further to leverage the Thing Interaction Framework features
Implement your app with the features described in Executing Commands, Triggers, and Browsing States. Read Functional Model for the overview of these features.