Skip to main content

Integrate ShiplyPro Harmony SDK

I. Privacy and Security Notice

Shiply Pro SDK
Version: 1.0.22
Last Updated: December 25, 2024
SDK Description: Provides mobile developers with dynamic configuration switch delivery, dynamic resource file delivery, in-app upgrade, and online hotfix capabilities
Service Provider: Shenzhen Tencent Computer Systems Co., Ltd.
Integration Guide: Integrate ShiplyPro Harmony SDK
Privacy Protection Rules: 《Shiply Pro SDK Personal Information Protection Rules》

II. Create a Harmony Project

  1. Register a product on the Shiply platform and select Harmony as the platform

  2. After registration, you can obtain APP ID and APP Key under Settings - Project Settings - General - Your Products

III. Integrate SDK

  1. Set the ohpm third-party library registry address
ohpm config set registry https://ohpm.openharmony.cn/ohpm/
  1. Install the Shiply library via ohpm.
ohpm install shiply@latest
ohpm install aki // Requires aki
  1. After installation, you can import and reference it directly in ArkTS.

Manual Integration

  1. Download the shiply.har third-party SDK package from a third-party repository or other channels.

  2. Create a libs directory under the module to be integrated and place shiply.har in the directory.

  3. Add the corresponding dependencies in the module's oh-package.json5 file as shown below.

"dependencies": {
"@ohos/shiply": "file:../shiply",
"@ohos/aki": "^1.2.6" // Upgrade version as needed
}

IV. Use Configuration Release

See: Use Configuration Delivery

V. Use Resource Release

See: Use Resource Delivery

Was this page helpful?