English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development

Tuya provides multiple mobile app development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.
layoutIndex

Sample Project

Last Updated on : 2021-09-15 01:53:24download

The sample project introduces the SDK development process and some simple business logic. Before developing the app, it is recommended to complete the operation of the sample project according to this document.

Preparation

In the preparation section, get the Appkey, Appsecret and Security pictures of iOS. When integrating the SDK, please confirm whether the BundleId, Appkey, Appsecret, and Security pictures are consistent with the information on the platform. Any mismatch will cause the SDK to be unavailable.

Overview

The sample project is provided in two languages, Swift and Objective-C, visit Swift Sample or Objective-C Sample for the project. It includes:

  • User register and login

  • User information

  • Home management

  • Device network configuration for EZ and AP modes

  • Device control

    Sample Project

FAQ

Symptom: API request prompt signature error

{ "success": false, "errorCode" : "SING_VALIDATE_FALED", "status" : "error", "errorMsg" : "Permission Verification Failed", "t" : 1583208740059 }

Solution: Confirm whether the BundleId, AppKey, AppSecret, and security picture are consistent with the information on the IoT platform. Any mismatch will fail the verification. Please check according to the section of Preparation.