Skip to content

Commit

Permalink
Release RongCloud iFly Extension SDK 2.8.25
Browse files Browse the repository at this point in the history
  • Loading branch information
RongRobot committed Dec 23, 2017
1 parent b07373f commit f77897d
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ios-rongiflykit/RongiFlyKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.8.24</string>
<string>2.8.25</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,16 @@ typedef NS_ENUM(NSUInteger, RCCustomerServiceStatus) {
*/
- (void)onCustomerServiceModeChanged:(RCCSModeType)newMode;

/*!
客服通告
@param announceMsg 客服通告内容
@param announceClickUrl 客服通告链接url
@discussion 此方法带回通告栏的展示内容及点击链接,须 App 自己实现
*/
- (void)announceViewWillShow:(NSString *)announceMsg announceClickUrl:(NSString *)announceClickUrl;

/*!
输入框内输入了@符号,即将显示选人界面的回调
Expand Down
Binary file modified ios-rongiflykit/framework/RongIMKit.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongiflykit/framework/RongIMKit.framework/RongIMKit
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Copyright © 2016年 RongCloud. All rights reserved.
//

#import "RCCSLeaveMessageItem.h"
#import "RCStatusDefine.h"
#import <Foundation/Foundation.h>
#import "RCStatusDefine.h"
#import "RCCSLeaveMessageItem.h"
// onResult:(void(^)(int isSuccess, NSString *errMsg))resultBlock
// onBlocked:(void(^)(void))blockedBlock
// onCompanyInfo:(void(^)(NSString *companyName, NSString
Expand Down Expand Up @@ -59,9 +59,10 @@

/*!
* 评价类型
如果 evaType 为 RCCSEvaSeparately,发送机器人评价消息调用RCIMClient中evaluateCustomerService: knownledgeId: robotValue:
suggest: 发送人工评价消息调用RCIMClient中 evaluateCustomerService: dialogId: humanValue: suggest:
如果 evaType 为 RCCSEvaSeparately,发送机器人评价消息调用RCIMClient中evaluateCustomerService: knownledgeId: robotValue: suggest:
发送人工评价消息调用RCIMClient中
evaluateCustomerService:dialogId:starValue:suggest:resolveStatus:tagText:extra:
如果 evaType 为 EVA_UNIFIED,发送评价消息调用RCIMClient中
evaluateCustomerService: dialogId: starValue: suggest: resolveStatus:
*/
Expand All @@ -75,7 +76,7 @@
/*!
* 留言样式:0.默认跳转留言界面;1.跳转url留言
*/
@property(nonatomic, assign) RCCSLMType leaveMessageType;
@property(nonatomic, assign) RCCSLMType leaveMessageType;

/*!
* 是否支持地图发送:0.支持;1.不支持
Expand All @@ -91,4 +92,14 @@
* 默认留言样式
*/
@property(nonatomic, copy) NSArray<RCCSLeaveMessageItem *> *leaveMessageNativeInfo;

/*!
* 通告内容
*/
@property(nonatomic, copy) NSString *announceMsg;

/*!
* 通告链接 url
*/
@property(nonatomic, copy) NSString *announceClickUrl;
@end
45 changes: 43 additions & 2 deletions ios-rongiflykit/framework/RongIMLib.framework/Headers/RCIMClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ FOUNDATION_EXPORT NSString *const RCLibDispatchReadReceiptNotification;
@param conversationType 会话类型
@param targetId 目标会话ID
@param recordTime 清除消息截止时间戳,【0 ~ 当前时间的 Unix 时间戳
@param recordTime 清除消息时间戳,【0 <= recordTime <= 当前会话最后一条消息的 sentTime,0 清除所有消息,其他值清除小于等于 recordTime 的消息
@param successBlock 获取成功的回调
@param errorBlock 获取失败的回调 [status:清除失败的错误码]
Expand Down Expand Up @@ -2218,6 +2218,16 @@ FOUNDATION_EXPORT NSString *const RCLibDispatchReadReceiptNotification;
onSelectGroup:(void (^)(NSArray<RCCustomerServiceGroupItem *> *groupList))selectGroupBlock
onQuit:(void (^)(NSString *quitMsg))quitBlock;

/*!
客服后台关于评价相关的客服参数配置
@param evaConfigBlock 客服配置回调
@discussion 此方法依赖startCustomerService方法,只有调用成功以后才有效。
@warning 如果你使用的lib,或者使用kit但想要自定义评价弹窗,可以参考相关配置绘制评价UI
*/
- (void)getHumanEvaluateCustomerServiceConfig:(void (^)(NSDictionary *evaConfig))evaConfigBlock;

/*!
结束客服聊天
Expand Down Expand Up @@ -2287,11 +2297,42 @@ FOUNDATION_EXPORT NSString *const RCLibDispatchReadReceiptNotification;
@warning
如果你使用IMKit,请不要使用此方法。RCConversationViewController默认已经做了处理。
@warning **已废弃,请勿使用。**
升级说明:如果您之前使用了此接口,可以直接替换为evaluateCustomerService:dialogId:starValue:suggest:resolveStatus:tagText:extra: 接口,行为和实现完全一致。
*/
- (void)evaluateCustomerService:(NSString *)kefuId
dialogId:(NSString *)dialogId
humanValue:(int)value
suggest:(NSString *)suggest;
suggest:(NSString *)suggest
__deprecated_msg("已废弃,请勿使用。");

/*!
评价人工客服。
@param kefuId 客服ID
@param dialogId 对话ID,客服请求评价的对话ID
@param value 分数,取值范围1-5
@param suggest 客户建议
@param resolveStatus 解决状态,如果没有解决状态,这里可以随意赋值,SDK不会处理
@param tagText 客户评价的标签
@param extra 扩展内容
@discussion 此方法依赖startCustomerService方法。可在客服结束之前或之后调用。
@discussion
有些客服服务商会主动邀请评价,pullEvaluationBlock会被调用到,当评价完成后调用本函数同步到服务器,dialogId填pullEvaluationBlock返回的dialogId。若是离开会话触发的评价或者在加号扩展中主动触发的评价,dialogID为nil
@warning
如果你使用IMKit,请不要使用此方法。RCConversationViewController默认已经做了处理。
*/
- (void)evaluateCustomerService:(NSString *)kefuId
dialogId:(NSString *)dialogId
starValue:(int)value
suggest:(NSString *)suggest
resolveStatus:(RCCSResolveStatus)resolveStatus
tagText:(NSString *)tagText
extra:(NSDictionary *)extra;


/*!
通用客服评价,不区分机器人人工
Expand Down
Binary file modified ios-rongiflykit/framework/RongIMLib.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongiflykit/framework/RongIMLib.framework/RongIMLib
Binary file not shown.

0 comments on commit f77897d

Please sign in to comment.