Last Updated on : 2023-05-22 06:38:23
Perform the following steps:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
end
end
end
AppGroups
:
AppGroups
.
AppKey
, set APP_GROUP_NAME
.[TuyaSmartSDK sharedInstance].appGroupId = APP_GROUP_NAME;
[[TuyaSmartSDK sharedInstance] startWithAppKey:SDK_APPKEY secretKey:SDK_APPSECRET];
homeId
in the main project.TuyaSmartDeviceModel.switchDp
to check whether a device supports quick toggles.viewWillAppear
to check whether accounts and rooms are changed in the main project. If so, refresh the data.Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback