Skip to content

Commit

Permalink
Release RongCloud CallKit SDK 2.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
RongRobot committed Jul 12, 2016
1 parent 80c6206 commit feb8da2
Show file tree
Hide file tree
Showing 34 changed files with 33 additions and 6 deletions.
13 changes: 13 additions & 0 deletions ios-rongcallkit/RongCallKit/Extension/RCCallKitExtensionModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@ - (CGSize)getMessageCellSize:(RCConversationType)conversationType
return CGSizeMake(0, 0);
}

- (BOOL)isMessageCellPortraitDisplayed:(RCConversationType)conversationType
targetId:(NSString *)targetId
messageContent:(RCMessageContent *)messageContent {
if ([messageContent isKindOfClass:[RCCallSummaryMessage class]]) {
if (conversationType == ConversationType_PRIVATE) {
return YES;
} else if (conversationType == ConversationType_GROUP || conversationType == ConversationType_DISCUSSION) {
return NO;
}
}
return NO;
}

- (BOOL)didHoldMessageCellTapEvent:(RCConversationType)conversationType
targetId:(NSString *)targetId
messageContent:(RCMessageContent *)messageContent {
Expand Down
4 changes: 4 additions & 0 deletions ios-rongcallkit/RongCallKit/Header/RongIMKitExtensionModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ typedef void (^RCConversationPluginItemTapBlock)();
messageContent:(RCMessageContent *)messageContent
collectionViewSize:(CGSize)collectionViewSize;

- (BOOL)isMessageCellPortraitDisplayed:(RCConversationType)conversationType
targetId:(NSString *)targetId
messageContent:(RCMessageContent *)messageContent;

- (BOOL)didHoldMessageCellTapEvent:(RCConversationType)conversationType
targetId:(NSString *)targetId
messageContent:(RCMessageContent *)messageContent;
Expand Down
2 changes: 1 addition & 1 deletion ios-rongcallkit/RongCallKit/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.6.5</string>
<string>2.6.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion ios-rongcallkit/RongCallKit/RCCall.mm
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ - (void)didReceiveCallRemoteNotification:(NSString *)callId
}

callNotification.userInfo = userDict;
callNotification.soundName = @"voip_call.caf";
callNotification.soundName = @"RongCloud.bundle/voip/voip_call.caf";

// VoIP Push和接收消息的通话排重
for (UILocalNotification *notification in self.locationNotificationList) {
Expand Down
Binary file modified ios-rongcallkit/framework/RongCallLib.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongCallLib.framework/RongCallLib
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/bubble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/navigator_btn_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/network_fail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/[email protected]
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/selected_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/unselected_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongCloud.bundle/voip/voip_call.mp3
Binary file not shown.
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMKit.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMKit.framework/RongIMKit
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
+ (UIImage *)imageByScalingAndCropSize:(UIImage *)image
targetSize:(CGSize)targetSize;

/*!
generate thumbnail from image
@param image image
@param targetSize targetSize
@return image
*/
+ (UIImage *)generateThumbnail:(UIImage *)image
targetSize:(CGSize)targetSize;
/*!
compressedImageWithMaxDataLength
Expand Down
Binary file modified ios-rongcallkit/framework/RongIMLib.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMLib.framework/RongIMLib
Binary file not shown.
4 changes: 2 additions & 2 deletions ios-rongcallkit/framework/en.lproj/RongCloudKit.strings
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"Back"="Back";
"IsDeleteHistoryMsg"="Do you want to delete history message?";
"ConnectionIsNotReachable"="Network unavailable,check network";
"Album"="Album";
"Photo"="Photo";
"Camera"="Camera";
"Photos"="Photos";
"Location"="Location";
"Audio"="Audio";
"Albums"="Albums";
Expand Down
4 changes: 2 additions & 2 deletions ios-rongcallkit/framework/zh-Hans.lproj/RongCloudKit.strings
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"Back"="返回";
"IsDeleteHistoryMsg"="是否删除历史消息?";
"ConnectionIsNotReachable"="当前网络不可用,请检查你的网络设置";
"Album"="相册";
"Photo"="照相";
"Camera"="拍摄";
"Photos"="照片";
"Location"="位置";
"Audio"="语音通话";
"Albums"="相册列表";
Expand Down

0 comments on commit feb8da2

Please sign in to comment.