IOS huanxin 3.0 integration (I) SDK Integration
I. Preparations 1. register an email account
After registering an email account, we use the registered account to log in. Then, create an application and obtain a corresponding AppKey. This AppKey is required when you initialize the huanxin SDK.
Click to view the registration email account tutorial
2. Create a push Certificate
If you need the offline push function, you need to create a push certificate. Skip this step if you only need to implement Single chat and group chat functions. I personally suggest that developers who have just started to contact huanxin ignore this step.
Click to view the certificate creation tutorial
3. Download The huanxin SDK
Click to download the iOS SDK
2. Integrate huanxin SDK1 and add the huanxin SDK to the Project
Download a compressed package from the website of huanxin. decompress the package and drag the SDK we need, that is, the folder HyphenateSDK, into our project. For example:
There are two static libraries under the lib folder. You only need to use one library and select one library based on your needs.
LibHyphenateSDK. a does not contain real-time voice functions. libHyphenateFullSDK. a contains all functions.
2. Add the corresponding dependent Library
2.1. Add dependency Libraries to Build Phases → Link Binary With Libraries
The SDK dependency library has