# SuperSDK_Plugin_VipCustomer
**Repository Path**: wyky_ios/SuperSDK_Plugin_VipCustomer
## Basic Information
- **Project Name**: SuperSDK_Plugin_VipCustomer
- **Description**: IOS端客服系统插件
- **Primary Language**: Objective-C
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2019-04-18
- **Last Updated**: 2025-04-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# SuperSDK_Plugin_VipCustomer
## 简介
IOS端的Vip客服插件,以SuperSDK插件形式集成进App
### 更新日志
| 日期 | Pods资源版本 | 备注 |
| ---------- | ---------- | --------- |
| 2021.07.14 | 0.3.3| 优化客服打开时间 |
| 2021.06.16 | 0.3.2| 处理新用户有可能不能访问词条的问题 |
| 2021.05.27 | 0.3.1| 优化im登录失败处理 |
| 2021.05.24 | 0.3.0| 客服聊天UI修改为Web页面 |
| 2021.03.14 | 0.2.0| 修复一些问题 |
| 2020.12.18 | 0.0.19 | 增加OpenSDK主题 |
| 2020.08.04 | 0.0.17 | 增加不良人3主题 |
| 2019.06.15 | 0.0.16 | 优化聊天UI |
| 2019.05.08 | 0.0.15 | React-Native更新至0.62.2 |
> 该插件支持从Unity端调用,如果需要了解该插件的调用方式和功能,请查看[Vip客服插件Unity接入文档](http://testssdk.sail2world.com/doc/client/plugin/vipcustomerservice/unity/html/api.html)
> 注意:SuperSDK所有插件都依赖SuperSDK框架,所以必须在Podfile中添加SuperSDK的依赖`pod 'YCSuperSDK'`
---
## 导入
1. 安装CocoaPods
2. 在项目根目录,输入`pod init`命令,创建Podfile
3. Podfile内容如下:
```
# Uncomment the next line to define a global platform for your project
source 'https://gitee.com/wyky_ios/Spec.git'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target '你的项目名' do
#依赖SuperSDK框架
pod 'YCSuperSDK'
#指定Vip客服插件
pod 'YCSuperSDK_Plugin_VipCustomer'
end
```
5. 输入`pod install`命令,安装相关依赖
6. 打开新生成的.xcworkspace,进行后续的开发和调试
---
## 工程配置
### Build Settings配置
1. 在Build Settings -> Enable Bitcode设置成No
---
## Info.plist配置
1. Info.plist中,指定加载插件类`Plugin_VipCustomer`。在SSDKConfig下的SSDK_PLUG_IN,添加**Plugin_VipCustomer**
```
SSDKConfig
SSDK_PLUG_IN
Plugin_VipCustomer
```
2. Info.plist中,添加客服插件参数。在SSDKConfig下,添加**PLUGIN_Config_VipCustomer**
```
SSDKConfig
PLUGIN_Config_VipCustomer
appId
客服参数appId
pubKey
客服参数,签名密钥pubKey
opAppId
OpenSDK客服参数appId
opPubKey
OpenSDK客服参数,签名密钥pubKey
imAppKey
环信参数,AppKey
imTenantId
环信参数,关联ID
imConversationId
环信参数,IM服务号
url
客服web页面地址(联系SDK人员获取)
log
```
> log表示日志是否打开,请出正式包时,该变量务必设置成**NO**。
3. Info.plist中,添加隐私权限
```
NSCameraUsageDescription
需要访问您的摄像机
NSMicrophoneUsageDescription
需要访问您的麦克风
NSPhotoLibraryUsageDescription
需要访问您的相册
```
---
## 作者
- jasontujun