Last Updated on : 2024-11-18 11:33:15download
Travel SDK serves as an extension of Smart Life App SDK and promotes your IoT app development for smart travel scenarios. The SDK supports the following features:
An account is registered on the Tuya IoT Development Platform, and a smart travel product such as an anti-lost tracker, a vehicle locator, or a smart electric vehicle is created. A key is obtained to activate the Travel SDK. For more information, see Fast Integration with Smart Life App SDK for Android.
Add the following configuration to repositories
of the file build.gradle
:
maven {
url "https://maven-other.tuya.com/repository/maven-releases/"
}
Add dependencies
downloaded in the preparation steps to the file build.gradle
.
dependencies{
implementation 'com.tuya.smart:tuyasmart:4.0.0'
implementation 'com.tuya.smart:tuyasmart-outdoor-sdk:1.0.0'
}
You can get the Travel SDK sample on GitHub. For more information, see Travel SDK Sample.
The values of AppKey
, AppSecret
, and security image obtained in the Preparation section must be configured correctly in the sample.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback