This topic describes how to quickly integrate the Real-Time Communication software development kit (SDK) UTS plug-in in a uni-app project.
Prerequisites
You must have the latest version of HBuilderX installed. For more information, see HBuilderX.
Environment requirements
iOS 12 or later.
Android 5.0 or later.
HarmonyOS 5.0 or later.
Integrate the SDK
Download the sample code (the UniApp folder): https://github.com/aliyun/AliRTCSample/tree/master/UniApp
NoteDownload or clone the repository. Run the sample to ensure it works before you migrate it to your project.
Copy the DingTalk-DingRTC plug-in from the `uni_modules` folder to the plug-in folder of your project.
Download and decompress the SDK for your target platform. For more information, see SDK downloads.
Add the SDK files to the folders for the corresponding platforms:
iOS: Copy the `.framework` or `.xcframework` file to the `/DingTalk-DingRTC/utssdk/app-ios/Frameworks/` folder.
Android: Copy the `.aar` file to the `/DingTalk-DingRTC/utssdk/app-android/libs/` folder.
HarmonyOS: Copy the `.har` file to the `/DingTalk-DingRTC/utssdk/app-harmony/libs/` folder.
Run the project on your target platform.
What to do next
After integrating the SDK, you can implement basic real-time communication features. For more information, see Implement basic features in uni-app (UTS plug-in).