The process of developing a small program:
You need to have a Tuya account, and then enter the Tuya Open Platform as a developer to create Mini Programs.
Development tools can help you create, develop, debug, and upload Mini Program projects.
Download and install the latest version of Mini Program Developer Tools IDE.
The development tool will automatically initialize the project template for you under the project path, and you can open the project with a code editor and write it.
During the development process, the running effect of the Miniapp will be displayed in the simulator on the left side of the main interface.
Since the emulator does not yet support all APIs, you also need to use Real Device Debugging to preview and debug the actual operation of the Mini Program.
After completing the development, click the Upload button of the development tool, and the local code will be uploaded to the background.
The uploaded version will be displayed in the Smart Mini Program Developer Platform.
After setting the uploaded version as the trial version, click experience QR code to configure the QR code information, which can be scanned and entered with the app that is delivered, so as to facilitate the experience of the Miniapp.
Users of the trial version of the Miniapp need to add an account to the whitelist.
Version Stage | Description | Action Buttons |
Development version | Each uploaded code corresponds to a separate development version | Submit for review, delete |
Experience version | [Optional] Before the official launch, you can set the experience version, so that members can test the experience first | Set as the experience version |
Review Version | In the review stage of the development version, if it does not pass, it needs to be returned for modification according to the reason for rejection. | Different review statuses correspond to different operation buttons. Under review -> withdraw; review -> apply online; fail -> withdraw |
Online Version | Official Version for All Users | Enable, Disable |