Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit 05c813e

Browse files
authored
Merge pull request #409 from zapcannon87/master
Release v2.3.5
2 parents 2980347 + 95d3bbd commit 05c813e

File tree

3 files changed

+32
-19
lines changed

3 files changed

+32
-19
lines changed

ChatKit-OC/Podfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
PODS:
2-
- AVOSCloud (11.4.5)
3-
- AVOSCloudIM (11.4.5):
4-
- AVOSCloud (= 11.4.5)
5-
- AVOSCloudIM/_ARC (= 11.4.5)
6-
- AVOSCloudIM/_NOARC (= 11.4.5)
7-
- AVOSCloudIM/_ARC (11.4.5):
8-
- AVOSCloud (= 11.4.5)
9-
- AVOSCloudIM/_NOARC (= 11.4.5)
10-
- AVOSCloudIM/_NOARC (11.4.5):
11-
- AVOSCloud (= 11.4.5)
12-
- ChatKit (2.3.4):
13-
- AVOSCloud (~> 11.4.5)
14-
- AVOSCloudIM (~> 11.4.5)
2+
- AVOSCloud (11.4.6)
3+
- AVOSCloudIM (11.4.6):
4+
- AVOSCloud (= 11.4.6)
5+
- AVOSCloudIM/_ARC (= 11.4.6)
6+
- AVOSCloudIM/_NOARC (= 11.4.6)
7+
- AVOSCloudIM/_ARC (11.4.6):
8+
- AVOSCloud (= 11.4.6)
9+
- AVOSCloudIM/_NOARC (= 11.4.6)
10+
- AVOSCloudIM/_NOARC (11.4.6):
11+
- AVOSCloud (= 11.4.6)
12+
- ChatKit (2.3.5):
13+
- AVOSCloud (~> 11.4.6)
14+
- AVOSCloudIM (~> 11.4.6)
1515
- CYLDeallocBlockExecutor (~> 1.1.2)
1616
- DACircularProgress (~> 2.3.1)
1717
- FDStackView (~> 1.0)
@@ -89,9 +89,9 @@ EXTERNAL SOURCES:
8989
:path: "../"
9090

9191
SPEC CHECKSUMS:
92-
AVOSCloud: 1c21d946e5422597353519b31c780c04ec5f4f5e
93-
AVOSCloudIM: 3ae1b46db83ec4d62a68cb7a50f6bdc68b5138ac
94-
ChatKit: 2c36f6eeba18177cb9493940a9eaec592695bd8b
92+
AVOSCloud: 95a83bb3447a2f57eae797abdf97072a8ad22b82
93+
AVOSCloudIM: 1acfb5170efc76424847b92b483ee4745c6c4936
94+
ChatKit: ab1e60bf4c688dcdaa3a6eecea8bfe973a824db1
9595
CYLDeallocBlockExecutor: ecf39e45dcead9e120f460df5668b8f5093d178e
9696
CYLTabBarController: 8d99fccf22866fe18c978c5ff863dc6051da45ff
9797
DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71

ChatKit.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ChatKit"
3-
s.version = "2.3.4"
3+
s.version = "2.3.5"
44
s.summary = "An IM App Framework, support sending text, pictures, audio, video, location messaging, managing address book, more interesting features."
55
s.homepage = "https://github.com/LeanCloud/ChatKit-OC"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
@@ -13,8 +13,8 @@ Pod::Spec.new do |s|
1313
s.resources = 'ChatKit/Class/Resources/*', 'ChatKit/**/*.xib'
1414

1515
s.requires_arc = true
16-
s.dependency "AVOSCloud" , "~> 11.4.5"
17-
s.dependency "AVOSCloudIM", "~> 11.4.5"
16+
s.dependency "AVOSCloud" , "~> 11.4.6"
17+
s.dependency "AVOSCloudIM", "~> 11.4.6"
1818
s.dependency "MJRefresh" , "~> 3.1.9"
1919
s.dependency "Masonry" , "~> 1.0.1"
2020
s.dependency "SDWebImage" , "~> 3.8.0"

ChatKit/Class/Tool/Service/LCCKSessionService.m

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,19 @@ - (void)imClientResumed:(AVIMClient *)imClient {
162162
[NSNotificationCenter.defaultCenter postNotificationName:LCCKNotificationSessionResumed object:nil];
163163
}
164164

165+
- (void)imClientClosed:(AVIMClient *)imClient error:(NSError *)error
166+
{
167+
[self updateConnectStatus];
168+
[imClient openWithOption:AVIMClientOpenOptionReopen callback:^(BOOL succeeded, NSError * _Nullable error) {
169+
[self updateConnectStatus];
170+
if (succeeded) {
171+
[NSNotificationCenter.defaultCenter postNotificationName:LCCKNotificationSessionResumed object:nil];
172+
} else {
173+
LCCKLog(@"%@", error.description);
174+
}
175+
}];
176+
}
177+
165178
- (void)handleSingleSignOnError:(NSError *)aError callback:(LCCKBooleanResultBlock)aCallback {
166179
if (aError.code == 4111) {
167180
[self resetService];

0 commit comments

Comments
 (0)