Last Updated on : 2024-06-07 01:34:48download
Tuya upgrades Cube App SDK and makes the latest version generally available. Based on the optimized business architecture, you can benefit from the neutral software development service and take your unique and proprietary application business to the next level. This topic describes how to upgrade your SDK from a legacy version to v3.x.x.
The following legacy versions can be upgraded to v3.x.x:
Make sure the network on which the SDK-based app runs is available. Download ThingSmartCryption
from the Tuya Developer Platform.
Make the following changes to the Podfile:
t_s.bmp
from the project.Tuya
in the names of dependencies to Thing
. Example:
pod 'TuyaSmartHomeKit', 'xx'
pod 'ThingSmartHomeKit', '~> 3.0.0'
TuyaSmartHomeKit
depends on, you can find the respective version number from podspec in the GitHub project.Go to Tuya Developer Platform > App SDK > SDK Development > Details page of your SDK-based app > Get SDK, and get the latest key information, including AppKey and AppSecret.
Replace the key information in your project with the new one. For more information, see Configure the SDK.
Make sure the APIs in the SDK can be compiled as expected. To minimize the manual work, we recommend that you use the upgrade script in the GitHub project to change the word Tuya
in the identifiers of all APIs to Thing
.
Tuya
in the names of BizBundle libraries to Thing
and specify '~> 3.0.0'
as the version number.ty_custom_config.json
is available and rename it to thing_custom_config.json
in your project. For more information about this file, see Integrate with Framework.Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback