Last Updated on : 2023-09-19 03:00:52download
Travel SDK serves as an extension of Smart Life App SDK and promotes your IoT app development for smart travel scenarios.
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 iOS.
The following environments are required to develop and run the Travel SDK:
You can download the Travel SDK sample for iOS on GitHub.
Follow the instructions in Fast Integration with Smart Life App SDK for iOS and add the TuyaSmartHomeKit
dependency to podfile
.
In the Podfile, add the dependencies of the Travel SDK.
Run pod install
or pod update
.
Import the header file #import <TuyaSmartOutdoorKit/TuyaSmartOutdoorKit.h>
.
source 'https://cdn.cocoapods.org/'
source 'https://github.com/tuya/TuyaPublicSpecs.git'
platform :ios, '10.0'
inhibit_all_warnings!
target 'MyApp' do
pod 'TuyaSmartHomeKit'
#Dp multilingual
pod 'TuyaSmartLangsExtraBizBundle', '~> 3.32.5'
#outdoor
pod 'TuyaSmartOutdoorKit', '~> 1.0.0'
end
You can get the following samples on GitHub:
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback