Value-Added Services UI BizBundle

Last Updated on : 2025-05-28 08:42:50download

IPC value-added services (VAS) include Value-Added Services v2.0 and Value-Added Services v1.0 (Cloud Storage). Value-Added Services v2.0 offers more features and has an updated UI BizBundle based on the latest miniapp solution.

  • Before using the VAS UI BizBundles, please carefully read Integrate with Framework.
  • For a better user experience, we highly recommend using Value-Added Services v2.0. If you are using Value-Added Services v1.0, please update it as soon as possible.

Preparation

Both versions share the same project configuration, but API calls differ slightly.

  • Before integration, review the UI BizBundle setup and integration steps. For more information, see Integrate with Framework.

  • Make sure your main project directory includes the thing_custom_config.json file, and that thingAppKey is correctly set up. This ensures the service purchase page loads properly.

  • Requires version 6.2.0 and above: To enable Apple In-App Purchase (IAP), add the following configuration to the thing_custom_config.json file:

    {
        "config": {
            "pay": true
        }
    }
    

Component integration

Project configuration

Add the BizBundle component to your project’s Podfile and run pod update. The configuration is as follows:

source "https://github.com/tuya/tuya-pod-specs"
source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'

target 'your_target_name' do
#  Include the IPC SDK.
pod 'ThingSmartCameraKit' , '~> x.x.0'
#  Include the UI BizBundle.
pod 'ThingSmartCloudServiceBizBundle' , '~> x.x.0'
# To enable Apple In-App Purchase (IAP)
pod 'ThingSmartBizKitBizBundle', '~> x.x.0'
end
OSZAR »