Last Updated on : 2024-07-04 06:44:05download
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 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 ThingSmartHomeKit
dependency to podfile
.
In the Podfile, add the dependencies of the Travel SDK.
Run pod install
or pod update
.
Import the header file #import <ThingSmartOutdoorKit/ThingSmartOutdoorKit.h>
.
source 'https://cdn.cocoapods.org/'
source 'https://github.com/tuya/TuyaPublicSpecs.git'
source 'https://github.com/tuya/tuya-pod-specs.git'
platform :ios, '11.0'
inhibit_all_warnings!
target 'MyApp' do
pod 'ThingSmartHomeKit'
pod 'ThingSmartLangsPackKit'
#outdoor
pod 'ThingSmartOutdoorKit', '~> 5.4.0'
end
You can get the following samples on GitHub:
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback