Skip to content

Commit bdc9a13

Browse files
Merge pull request #16 from sendbird/v1.0.3
Add 1.0.3.
2 parents e6ff3e3 + 11e0425 commit bdc9a13

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v1.0.3 (May 7, 2025)
2+
3+
### Improvements
4+
- Added handling of network error related exceptions in `MessageCollection`
5+
16
## v1.0.2 (Mar 13, 2025)
27

38
### Improvements

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Add following dependencies and fonts for `SendbirdIcons` in `pubspec.yaml`.
3838

3939
```yaml
4040
dependencies:
41-
sendbird_uikit: ^1.0.2
42-
sendbird_chat_sdk: ^4.3.0
41+
sendbird_uikit: ^1.0.3
42+
sendbird_chat_sdk: ^4.3.2
4343

4444
flutter:
4545
fonts:

lib/src/public/screen/group_channel/channel/sbu_group_channel_screen.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,11 @@ class SBUGroupChannelScreenState extends State<SBUGroupChannelScreen>
215215

216216
Future<void> _loadPrevious(MessageCollection collection) async {
217217
if (!collection.isLoading && collection.hasPrevious) {
218-
await collection.loadPrevious();
218+
try {
219+
await collection.loadPrevious();
220+
} catch (_) {
221+
return;
222+
}
219223

220224
if (mounted) {
221225
if (collection.messageList.isNotEmpty) {

lib/src/public/sendbird_uikit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'package:sendbird_uikit/src/internal/utils/sbu_reply_manager.dart';
1818
/// SendbirdUIKit
1919
class SendbirdUIKit {
2020
/// UIKit version
21-
static const version = '1.0.2';
21+
static const version = '1.0.3';
2222

2323
SendbirdUIKit._();
2424

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sendbird_uikit
22
description: With Sendbird UIKit for Flutter, you can easily build an in-app chat with all the essential messaging features.
3-
version: 1.0.2
3+
version: 1.0.3
44
homepage: https://sendbird.com
55
repository: https://github.com/sendbird/sendbird-uikit-flutter
66
documentation: https://sendbird.com/docs/chat/uikit/v3/flutter/overview
@@ -17,7 +17,7 @@ dependencies:
1717
flutter:
1818
sdk: flutter
1919

20-
sendbird_chat_sdk: ^4.3.0
20+
sendbird_chat_sdk: ^4.3.2
2121
provider: ^6.1.2
2222
intl: '>=0.18.1 <1.0.0'
2323
collection: ^1.18.0

0 commit comments

Comments
 (0)