FAQs
App problems
The error message that the miniapp does not exist is returned on the app. How do I deal with the problem?
- This error occurs because the specified miniapp is not found. Make sure the specified miniapp ID is correct.
The error message that the miniapp is not linked with an app. How do I deal with the problem?
- Cause: The linkage between the app and miniapp is not found.
- Go to Tuya MiniApp Developer Platform > Distribution and check whether the current app is added to this section. If not, add the app to the app list in the Distribution section.
The trial QR code of my miniapp is invalid. How can I fix the problem?
- This problem occurs because the review request has an error or expired in most cases. You must submit the review request again.
The current miniapp does not have an available version. How can I fix the problem?
- Go to the Tuya MiniApp Developer Platform and check whether the miniapp has an official version that is in service.
- If not, release a version and try again.
The current miniapp does not have an available trial version. How can I fix the problem?
- This problem occurs because the specified trial miniapp is not found. Go to the Tuya MiniApp Developer Platform and check whether the miniapp has a trial version.
- If not, set the target version to the trial version and open the miniapp.
The specified miniapp version does not exist. How do I fix the problem?
- This problem occurs because the specified miniapp version is not found. Go to the Tuya MiniApp Developer Platform and check whether the miniapp has the specified version.
I was unauthorized to access the specified version. How do I fix the problem?
- Cause: Your app account is not added to the allowlist of the current miniapp.
- You must go to Tuya MiniApp Developer Platform > Allowlist and add the app account to the allowlist.
- If the OEM App account prompts that the user does not exist, you need to add a user ID. The user ID can be obtained by long pressing and copying in the basic information pop-up window that pops up after long pressing the upper right corner of the applet.
How can I fix the problem if the system indicates that the miniapp cannot be opened and asks me to try again?
- The problem occurs because of network issues. Make sure the network is in normal conditions and try again later.
The current app version does not support the miniapp features. How can I fix the problem?
- Cause: The versions of the Kit dependencies for the current app are incompatible with the versions of the Kit dependencies required by the miniapp.
- Go to the Tuya MiniApp Developer Platform and check the base library version of the miniapp. Tap the icon "x" in the top right corner of the app to check the base library version of the app. Compare these two base library versions. If the base library version bound with the app is later than or equal to the base library version of the miniapp, the miniapp can be started on the app.
- Go to the Tuya MiniApp Developer Platform and check the Kit versions required by the miniapp. Tap the icon "x" in the top right corner of the app to check the Kit versions of the app. Compare their Kit versions. If each Kit version of the app is later than or equal to that of the miniapp, the miniapp can be started on the app.
- For more information, see Mobile apps and MiniApps.
How can OemApp be upgraded?
- If your OemApp version is insufficient, causing the miniApp to fail to load, please go to the doodle IoT platform to upgrade the app version. Update App Version
Other problems
- To seek support for other types of problems, you can leave messages on Tuya's Developer Forum.
Panel MiniApp Development
Why is the Virtual Device Plug-in and Project Template device schema is empty?
Reason::
- Because of the smart mode
TuyaLinkproduct is not supported yet.
Solution:
- It can be self implemented based on our current ThingModel API, where:
- The device schema can be obtained through the
getDeviceThingModelInfomethod - Control device can use the
publishThingModelMessagemethod - Listen device state can be accessed through
onReceivedThingModelMessagemethod
- The device schema can be obtained through the
How to determine whether the current device is a single device or a group?
-Determine based on whether the startup parameters include groupId
How to debug group devices?
-Set groupId as the startup parameter for the compilation parameters in the Tuya MiniApp Tools
How to control multiple devices?
To control multiple devices under one panel, it is necessary to store the device IDs that require additional control in the properties of the current device.
- 1.Firstly, we can call the Obtain device ID list
- 2.Then call Get device information in batch
- 3.Display the device list through the UI or other methods to determine the device IDs that require additional control
- 4.By calling Set Device Properties to storage device Id.
- 5.Subsequently, you can obtain device properties for device control
How to get the device ID (deviceId)?
- Enter the App device panel, click the upper right corner to enter the device details page, and then click Device Information to enter the device information page. The virtual ID displayed on the page is the device ID, that is, the parameter deviceId needs to be passed during debugging.