简体中文
简体中文
English
注册
登录
简体中文
简体中文
English
注册
登录
语言
简体中文
简体中文
English
注册
登录

智能生活 App SDK 开发版超100个注册用户错误码如何处理?

更新时间2023-04-13 11:48:38
如您使用的智能生活 App SDK 为开发版,可以免费体验所有 SDK 功能,但最多只能注册100个终端用户账号。如超过100个注册用户,App SDK 将无法注册新账号,并打印以下错误日志:
  • Android SDK 注册 API 回调失败 code 和 error
code = "REGISTER_USER_LIMIT"
error = "The application that uses the SDK trial version is limited to 100 registered users. Please visit the Tuya IoT Development Platform https://www.tuya.com/vas/commodity/SDK_APP_CREATE to purchase the official version to unlock the limitation."
  • iOS SDK 注册 API 回调失败 NSError 对象,通过 error.userInfo 输出错误信息
error.userInfo[NSLocalizedFailureReasonErrorKey] = REGISTER_USER_LIMIT
error.userInfo[NSLocalizedDescriptionKey] = "The application that uses the SDK trial version is limited to 100 registered users. Please visit the Tuya IoT Development Platform: https://www.tuya.com/vas/commodity/SDK_APP_CREATE to purchase the official version to unlock the limitation."
您可以在 SDK 项目代码中,对该 error code 做弹窗提醒处理。如您希望解除该限制,请购买 App SDK 正式版,购买链接:https://www.tuya.com/vas/commodity/SDK_APP_CREATE

点击获取服务和帮助

帮助中心