Skip to content

Commit 456b2e9

Browse files
committed
update to 0.0.11
1 parent 708a877 commit 456b2e9

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.0.11
2+
fix: jmessage login api remove without avatar path error.
3+
14
## 0.0.10
25
fix: updateGroupInfo update desc error.
36
new feature: add extras field in JMConversationInfo.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
```
1010
dependencies:
11-
jmessage_flutter: 0.0.10
11+
jmessage_flutter: 0.0.11
1212
```
1313

1414

ios/Classes/JmessageFlutterPlugin.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,7 @@ - (void)login:(FlutterMethodCall*)call result:(FlutterResult)result {
606606
JMSGUser *myInfo = [JMSGUser myInfo];
607607
// 为了和 Android 行为一致,在登录的时候自动下载缩略图。
608608
[myInfo thumbAvatarData:^(NSData *data, NSString *objectId, NSError *error) {
609-
if (error) {
610-
result([error flutterError]);
611-
return;
612-
}
613-
609+
// 下载失败也及时返回。
614610
result(nil);
615611
}];
616612
}];

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: jmessage_flutter
22
description: Offically supported JMessage Flutter plugin.
3-
version: 0.0.10
3+
version: 0.0.11
44
author: huminios <h380108184@gmail.com>
55
homepage: https://www.jiguang.cn
66

0 commit comments

Comments
 (0)