Value-Added Services UI BizBundle

Last Updated on : 2024-11-18 06:04:03download

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.

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.

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'
#  Include the UI BizBundle.
pod 'ThingSmartCloudServiceBizBundle'
end