Client SDK Reference

更新时间:
复制 MD 格式

The Phone Number Verification Service integration process includes both server-side and client integration. Client integration methods vary slightly. Before you integrate the client, complete the following preparations.

Environment preparations

Preparations

Instructions

iOS development integration

Development tool: Use Xcode 11 or later.

Development environment: For signing in iOS development, see the procedure for creating iOS app certificates.

Android development integration

Development tool: Use Android Studio or IntelliJ IDEA CE.

Development environment:

  • Install Java and configure JAVA_HOME.

  • Use Android SDK 30 or later.

Harmony development integration

Development tool: Use DevEco Studio 5.0.3.900 or later. For the tool's runtime environment requirements, see the HarmonyOS Developer Documentation.

Development environment: DevEco Studio bundles the HarmonyOS SDK and Node.js, so no additional configuration is required. To check the development environment, see the HarmonyOS Developer Documentation.

H5 page development integration

Development tool: Use VS Code, WebStorm, or other frontend development IDEs.

Development environment: Install Node.js.

uni-app development integration

Development tool: Use HBuilderX, Android Studio, IntelliJ IDEA CE, or Xcode.

Development environment: None.

uni-app native language plugin workflow:

  1. Purchase the plugin and attach it to your project.

  2. In HBuilderX, find the project and select the module in the App native plugin configuration of the manifest file.

  3. Reference the plugin in the code and use its features.

  4. Package the custom base and select the plugin. After you obtain the custom base, select it at runtime and check the log output.

  5. After development is complete, perform cloud packaging.

For more information, see Import a plugin into a uni-app project.

Get the client SDK

  1. Log in to the Phone Number Verification Service console.

  2. On the Overview page, in the API & SDK section on the right, click Download Now.

  3. Select the required SDK package as prompted on the page. Download and decompress the package.

Next steps