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

Preparation

Last Updated on : 2021-10-11 09:43:12download

This topic describes how to build an app based on Smart Life App SDK on the Tuya IoT Platform, and get the values of AppKey and AppSecret and the security image of the App SDK.

Before you start

A developer account is registered on the Tuya IoT Platform and the account identity is verified.

Procedure

  1. Log in to the Tuya IoT Platform and go to the SDK Development page.

  2. Click Create App.
    Preparation

  3. In the dialog box that appears, select the preferred App SDK category, such as Smart Home. For more information about the categories of IoT App SDK, see What is IoT App SDK?

  4. In the Enter Information dialog box, set App Name, Bundle ID for iOS, Package Name for Android, and Channel ID.

    • App Name: Enter a name for the app.

    • Bundle ID for iOS: Enter your iOS app bundle ID. The recommended format is com.xxxxx.xxxxx.

    • Package Name for Android: Enter your Android app package name. It is not necessary to be consistent with the iOS app bundle ID.

    • Channel ID: optional. If you do not set the value, the system automatically generates a channel ID according to the package name.

      The package name must be globally unique.

      Preparation

  5. Click OK.

  6. Go to the Get SDK tab, select one or more required SDKs or BizBundles, and then download the App SDK for iOS or Android.
    Preparation

  7. Click the Get Key tab to get the values of AppKey and AppSecret and the security image of the App SDK.
    Preparation

  8. For the app for Android, add one or more SHA256 hash values. For more information, see How to Get SHA1 and SHA256 Keys.

    Starting from the Smart Life App SDK for Android 3.29.5, SHA256 hash values are required.