version bump
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
## 0.2.7
|
||||||
|
|
||||||
|
- Update llc dependency
|
||||||
|
- Fixed a bug that made the SDK crash if it went to background while not connected
|
||||||
|
|
||||||
## 0.2.6+1
|
## 0.2.6+1
|
||||||
|
|
||||||
- Update llc dependency
|
- Update llc dependency
|
||||||
|
|||||||
@@ -176,6 +176,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||||
|
if (client.state?.user != null) {
|
||||||
if (state == AppLifecycleState.paused) {
|
if (state == AppLifecycleState.paused) {
|
||||||
if (client.showLocalNotification != null) {
|
if (client.showLocalNotification != null) {
|
||||||
_newMessageSubscription = client
|
_newMessageSubscription = client
|
||||||
@@ -222,13 +223,15 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
|
|||||||
if (_disconnectTimer?.isActive == true) {
|
if (_disconnectTimer?.isActive == true) {
|
||||||
_disconnectTimer.cancel();
|
_disconnectTimer.cancel();
|
||||||
} else {
|
} else {
|
||||||
if (client.wsConnectionStatus.value == ConnectionStatus.disconnected) {
|
if (client.wsConnectionStatus.value ==
|
||||||
|
ConnectionStatus.disconnected) {
|
||||||
NotificationService.handleIosMessageQueue(client);
|
NotificationService.handleIosMessageQueue(client);
|
||||||
client.connect();
|
client.connect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter
|
name: stream_chat_flutter
|
||||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||||
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
||||||
version: 0.2.6+1
|
version: 0.2.7
|
||||||
repository: https://github.com/GetStream/stream-chat-flutter
|
repository: https://github.com/GetStream/stream-chat-flutter
|
||||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ dependencies:
|
|||||||
file_picker: ^1.12.0
|
file_picker: ^1.12.0
|
||||||
image_picker: ^0.6.7+2
|
image_picker: ^0.6.7+2
|
||||||
flutter_keyboard_visibility: ^3.2.1
|
flutter_keyboard_visibility: ^3.2.1
|
||||||
stream_chat: ^0.2.3+2
|
stream_chat: ^0.2.4
|
||||||
mime: ^0.9.6+3
|
mime: ^0.9.6+3
|
||||||
visibility_detector: ^0.1.5
|
visibility_detector: ^0.1.5
|
||||||
http_parser: ^3.1.4
|
http_parser: ^3.1.4
|
||||||
|
|||||||
Reference in New Issue
Block a user