Last Updated on : 2024-07-09 08:26:46download
An account is registered on the Tuya Developer 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/ }
maven { url "https://maven-other.tuya.com/repository/maven-commercial-releases/" }
Add dependencies
downloaded in the preparation steps to the file build.gradle
.
dependencies{
implementation 'com.thingclips.smart:thingsmart:5.0.0'
implementation 'com.thingclips.smart:thingsmart-outdoor-sdk:5.4.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