Skip to content
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example pod update Jun 14, 2019
.gitignore add changelog Mar 14, 2019
CHANGELOG.md UPDATE CHANGELOG Jul 22, 2019
README-zh.md Podfile edit Jan 15, 2019
README.md Podfile edit Jan 15, 2019
TYBluetooth.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartActivatorKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartBLEKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartBLEMeshKit.podspec doc: remove openssl dependency Jul 22, 2019
TuyaSmartBaseKit.podspec podspec Jul 23, 2019
TuyaSmartDeviceKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartFeedbackKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartHomeKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartMQTTChannelKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartMessageKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartSceneKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartSocketChannelKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartTimerKit.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
TuyaSmartUtil.podspec 2.12 features:Push Notification was was classified. bug fixed Jul 22, 2019
_Pods.xcodeproj add Demo Jun 8, 2018

README.md

Tuya Smart iOS SDK

中文版 | English


Features Overview

Tuya Smart APP SDK provides the interface package for the communication with hardware and Tuya Cloud to accelerate the application development process, including the following features:

  • Hardware functions (network configuration, control, status reporting, regular tasks, groups, firmware upgrades, sharing)
  • Account system (phone number, email registration, login, password reset and other general account functions)
  • Tuya Cloud HTTP API interface package

Rapid Integration

Using CocoaPods integration (version 8.0 or above is supported)

Add the following content in file Podfile:

platform :ios, '8.0'

target 'your_target_name' do

      pod "TuyaSmartHomeKit"

end

Execute command pod update in the project's root directory to begin integration.

For the instructions of CocoaPods, please refer to: CocoaPods Guides

Initializing SDK

Add the following to the project file PrefixHeader.pch

#import <TuyaSmartHomeKit/TuyaSmartKit.h>

Open file AppDelegate.m,and use the App ID and App Secret obtained from the development platform in the [AppDelegate application:didFinishLaunchingWithOptions:]method to initialize SDK:

[[TuyaSmartSDK sharedInstance] startWithAppKey:<#your_app_key#> secretKey:<#your_secret_key#>];

Now all the preparatory work has been completed. You can set out to develop your application.

Doc

Refer to details: Tuya Smart Doc - iOS SDK

ChangeLog

CHANGELOG.md

You can’t perform that action at this time.