From 4b375983d907377fbff16dded2c23ad28e7439ae Mon Sep 17 00:00:00 2001 From: Reuben Turner Date: Mon, 27 Jun 2022 14:40:55 +0200 Subject: [PATCH 1/6] chore(flutter) update changelog and version --- packages/stream_chat_flutter/CHANGELOG.md | 58 +++++++++++++++++++ .../flutter/generated_plugin_registrant.cc | 4 -- .../linux/flutter/generated_plugins.cmake | 1 - .../flutter/generated_plugin_registrant.cc | 3 - .../windows/flutter/generated_plugins.cmake | 1 - packages/stream_chat_flutter/pubspec.yaml | 2 +- 6 files changed, 59 insertions(+), 10 deletions(-) diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index adf61a989..5c00fe610 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,3 +1,61 @@ +## 5.0.0-beta.1 + +- 🎉 Initial support for desktop 🖥️ and web 🧑‍💻 + - Right-click context menus for messages and full-screen attachments + - Upload and download attachments using the native desktop file system + - Press the "enter" key to send a message + - If you are quoting a message and have not yet typed any text, you can press the "esc" key to remove the + quoted message. + - A dedicated "X" button for removing a quoted message with your mouse + - Drag and drop attachment files to `StreamMessageInput` + - New `StreamMessageInput.draggingBorder` property to customize the border color of the message input when + dropping a file. + - Message reactions bubbles + - Hovering over a message reaction will show the users that have reacted to the message + - Desktop attachment sharing UI + - Selectable message text + - Gallery navigation controls with keyboard shortcuts (left and right arrow keys) + - Appropriate message sizing for large screens + - Right-click context menu for `StreamChannelListView` items + - `StreamChannelListView` items not swipeable on desktop & web + - Video support for Windows & Linux through `dart_vlc` + - Video support for macOS through `video_player_macos` + - Replace bottom sheets with dialogs where appropriate +- Other Additions ✅ + - `onQuotedMessageCleared` to `StreamMessageInput` + - `selected` and `selectedTileColor` to `StreamChannelListTile` + - `AttachmentUploadStateBuilder.inProgressBuilder` to `AttachmentUploadStateBuilder` + - `AttachmentUploadStateBuilder.successBuilder` to `AttachmentUploadStateBuilder` + - `AttachmentUploadStateBuilder.failedBuilder` to `AttachmentUploadStateBuilder` + - Translations: + - `couldNotReadBytesFromFileError` + - `downloadLabel` + - `toggleMuteUnmuteAction` + - `toggleMuteUnmuteGroupQuestion` + - `toggleMuteUnmuteGroupText` + - `toggleMuteUnmuteUserQuestion` + - `toggleMuteUnmuteUserText` +- Breaking changes 🚧 + - Renamed `showConfirmationDialog` to `showConfirmationBottomSheet` + - Renamed `showInfoDialog` to `showInfoBottomSheet` + - `wrapAttachmentWidget` has been converted to a class + - `StreamImageAttachment.size` has been converted from type `Size` to type `BoxConstraints` + - `StreamFileAttachment.size` has been converted from type `Size` to type `BoxConstraints` + - `StreamGiphyAttachment.size` has been converted from type `Size` to type `BoxConstraints` + - `StreamVideoAttachment.size` has been converted from type `Size` to type `BoxConstraints` + - `StreamVideoThumbnailImage.width` and `StreamVideoThumbnailImage.height` have been removed in favor of + `StreamVideoThumbnailImage.constraints` +- Dependency updates ⬆️ + - `chewie: ^1.3.0` -> `chewie: ^1.3.4` + - `path_provider: ^2.0.1` -> `path_provider: ^2.0.9` + - `video_player: ^2.1.0` -> `video_player: ^2.4.5` +- Code Improvements 🔧 + - Extracted many widgets to classes to improve readability, maintainability, and devtools usage. + - Organized internal directory structure + - Extracted typedefs to their own file + - Updated dartdoc documentation + - Various code readability improvements + ## 4.3.0 - Updated `photo_view` dependency to [`0.14.0`](https://pub.dev/packages/photo_view/changelog). diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc index 45e103f4b..b6eaaf8f3 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc @@ -9,7 +9,6 @@ #include #include #include -#include #include #include @@ -23,9 +22,6 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) file_selector_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin"); file_selector_plugin_register_with_registrar(file_selector_linux_registrar); - g_autoptr(FlPluginRegistrar) screen_retriever_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin"); - screen_retriever_plugin_register_with_registrar(screen_retriever_registrar); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake index 797d09a4f..b3a513dcb 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake @@ -6,7 +6,6 @@ list(APPEND FLUTTER_PLUGIN_LIST dart_vlc desktop_drop file_selector_linux - screen_retriever url_launcher_linux window_manager ) diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc index 6f6ed57bf..6b4516b87 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -27,8 +26,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("FileSelectorWindows")); FlutterNativeViewPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("FlutterNativeViewPlugin")); - ScreenRetrieverPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("ScreenRetrieverPlugin")); ThumblrWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ThumblrWindowsPlugin")); UrlLauncherWindowsRegisterWithRegistrar( diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake index 436f55adb..c74ca8533 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake @@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST desktop_drop file_selector_windows flutter_native_view - screen_retriever thumblr_windows url_launcher_windows window_manager diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index 5b6ca690f..fdd088f54 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -1,7 +1,7 @@ name: 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. -version: 4.3.0 +version: 5.0.0-beta.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues From d9a94005a899f799d7a72f1514c464c9e2417f44 Mon Sep 17 00:00:00 2001 From: Reuben Turner Date: Mon, 27 Jun 2022 14:41:08 +0200 Subject: [PATCH 2/6] chore(localizations): update changelog and versions --- packages/stream_chat_localizations/CHANGELOG.md | 12 ++++++++++++ packages/stream_chat_localizations/pubspec.yaml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/stream_chat_localizations/CHANGELOG.md b/packages/stream_chat_localizations/CHANGELOG.md index 1c2bc12b0..45f2d3288 100644 --- a/packages/stream_chat_localizations/CHANGELOG.md +++ b/packages/stream_chat_localizations/CHANGELOG.md @@ -1,3 +1,15 @@ +## 3.3.0 + +✅ Added + +* `couldNotReadBytesFromFileError` with translations +* `downloadLabel` with translations +* `toggleMuteUnmuteAction` with translations +* `toggleMuteUnmuteGroupQuestion` with translations +* `toggleMuteUnmuteGroupText` with translations +* `toggleMuteUnmuteUserQuestion` with translations +* `toggleMuteUnmuteUserText` with translations + ## 3.2.0 ✅ Added diff --git a/packages/stream_chat_localizations/pubspec.yaml b/packages/stream_chat_localizations/pubspec.yaml index caa852794..00fdfe7a8 100644 --- a/packages/stream_chat_localizations/pubspec.yaml +++ b/packages/stream_chat_localizations/pubspec.yaml @@ -1,6 +1,6 @@ name: stream_chat_localizations description: The Official localizations for Stream Chat Flutter, a service for building chat applications -version: 3.2.0 +version: 3.3.0 homepage: 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 @@ -16,6 +16,6 @@ dependencies: sdk: flutter stream_chat_flutter: ^4.3.0 dev_dependencies: - dart_code_metrics: ^4.4.0 + dart_code_metrics: ^4.16.0 flutter_test: sdk: flutter From d108f093a343803dc1bae604f3f31a149a5d4f93 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 27 Jun 2022 14:54:29 +0200 Subject: [PATCH 3/6] chore(llc,core,ui,persistence,localizations): update changelog and pubspec --- packages/stream_chat/CHANGELOG.md | 5 +++++ packages/stream_chat/lib/version.dart | 2 +- packages/stream_chat/pubspec.yaml | 2 +- packages/stream_chat_flutter/pubspec.yaml | 2 +- packages/stream_chat_flutter_core/CHANGELOG.md | 5 +++++ packages/stream_chat_flutter_core/pubspec.yaml | 2 +- packages/stream_chat_localizations/CHANGELOG.md | 2 +- packages/stream_chat_localizations/pubspec.yaml | 4 ++-- packages/stream_chat_persistence/CHANGELOG.md | 4 ++++ packages/stream_chat_persistence/pubspec.yaml | 2 +- 10 files changed, 22 insertions(+), 8 deletions(-) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 2d17f32e0..daff927fd 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,3 +1,8 @@ +## 5.0.0-beta.1 + +- Minor fixes. +- Removed deprecated code. + ## 4.3.0 🐞 Fixed diff --git a/packages/stream_chat/lib/version.dart b/packages/stream_chat/lib/version.dart index faafb093a..dfb640644 100644 --- a/packages/stream_chat/lib/version.dart +++ b/packages/stream_chat/lib/version.dart @@ -3,4 +3,4 @@ import 'package:stream_chat/src/client/client.dart'; /// Current package version /// Used in [StreamChatClient] to build the `x-stream-client` header // ignore: constant_identifier_names -const PACKAGE_VERSION = '4.3.0'; +const PACKAGE_VERSION = '5.0.0-beta.1'; diff --git a/packages/stream_chat/pubspec.yaml b/packages/stream_chat/pubspec.yaml index 7c5968cc1..5e8b4f148 100644 --- a/packages/stream_chat/pubspec.yaml +++ b/packages/stream_chat/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat homepage: https://getstream.io/ description: The official Dart client for Stream Chat, a service for building chat applications. -version: 4.3.0 +version: 5.0.0-beta.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index fdd088f54..3d4d882fc 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -41,7 +41,7 @@ dependencies: rxdart: ^0.27.0 share_plus: ^4.0.1 shimmer: ^2.0.0 - stream_chat_flutter_core: ^4.3.0 + stream_chat_flutter_core: ^5.0.0-beta.1 substring_highlight: ^1.0.26 synchronized: ^3.0.0 thumblr: ^0.0.4 diff --git a/packages/stream_chat_flutter_core/CHANGELOG.md b/packages/stream_chat_flutter_core/CHANGELOG.md index b986bbd69..987bedb5d 100644 --- a/packages/stream_chat_flutter_core/CHANGELOG.md +++ b/packages/stream_chat_flutter_core/CHANGELOG.md @@ -1,3 +1,8 @@ +## 5.0.0-beta.1 + +- Updated `stream_chat` dependency to [`5.0.0-beta.1`](https://pub.dev/packages/stream_chat/changelog). +- Removed deprecated code. + ## 4.3.0 - Updated `stream_chat` dependency to [`4.3.0`](https://pub.dev/packages/stream_chat/changelog). diff --git a/packages/stream_chat_flutter_core/pubspec.yaml b/packages/stream_chat_flutter_core/pubspec.yaml index be01b69a5..5d85b4600 100644 --- a/packages/stream_chat_flutter_core/pubspec.yaml +++ b/packages/stream_chat_flutter_core/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_flutter_core homepage: https://github.com/GetStream/stream-chat-flutter description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter. -version: 4.3.0 +version: 5.0.0-beta.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues diff --git a/packages/stream_chat_localizations/CHANGELOG.md b/packages/stream_chat_localizations/CHANGELOG.md index 45f2d3288..ba05bae2c 100644 --- a/packages/stream_chat_localizations/CHANGELOG.md +++ b/packages/stream_chat_localizations/CHANGELOG.md @@ -1,4 +1,4 @@ -## 3.3.0 +## 4.0.0-beta.1 ✅ Added diff --git a/packages/stream_chat_localizations/pubspec.yaml b/packages/stream_chat_localizations/pubspec.yaml index 00fdfe7a8..3c8a86be8 100644 --- a/packages/stream_chat_localizations/pubspec.yaml +++ b/packages/stream_chat_localizations/pubspec.yaml @@ -1,6 +1,6 @@ name: stream_chat_localizations description: The Official localizations for Stream Chat Flutter, a service for building chat applications -version: 3.3.0 +version: 4.0.0-beta.1 homepage: 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 @@ -14,7 +14,7 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter - stream_chat_flutter: ^4.3.0 + stream_chat_flutter: ^4.0.0-beta.1 dev_dependencies: dart_code_metrics: ^4.16.0 flutter_test: diff --git a/packages/stream_chat_persistence/CHANGELOG.md b/packages/stream_chat_persistence/CHANGELOG.md index 4c9bea040..d9179f765 100644 --- a/packages/stream_chat_persistence/CHANGELOG.md +++ b/packages/stream_chat_persistence/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.0.0-beta.1 + +- Updated `stream_chat` dependency to [`5.0.0-beta.1`](https://pub.dev/packages/stream_chat/changelog). + ## 4.2.0 - Added support for `Channel.ownCapabilities` diff --git a/packages/stream_chat_persistence/pubspec.yaml b/packages/stream_chat_persistence/pubspec.yaml index 007cb7281..8debf40cf 100644 --- a/packages/stream_chat_persistence/pubspec.yaml +++ b/packages/stream_chat_persistence/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_persistence homepage: https://github.com/GetStream/stream-chat-flutter description: Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter. -version: 4.2.0 +version: 5.0.0-beta.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues From af5c738dd93650f5e76316bfd5e6edd69f5cbb6f Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 27 Jun 2022 14:53:19 +0200 Subject: [PATCH 4/6] chore(llc,core,ui,persistence,localizations): update changelog and pubspec --- packages/stream_chat_flutter_core/pubspec.yaml | 4 ++-- packages/stream_chat_persistence/pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/stream_chat_flutter_core/pubspec.yaml b/packages/stream_chat_flutter_core/pubspec.yaml index 5d85b4600..c88ae505a 100644 --- a/packages/stream_chat_flutter_core/pubspec.yaml +++ b/packages/stream_chat_flutter_core/pubspec.yaml @@ -17,8 +17,8 @@ dependencies: freezed_annotation: ^2.0.3 meta: ^1.3.0 rxdart: ^0.27.0 - stream_chat: ^4.3.0 - + stream_chat: ^5.0.0-beta.1 + dev_dependencies: build_runner: ^2.0.1 dart_code_metrics: ^4.4.0 diff --git a/packages/stream_chat_persistence/pubspec.yaml b/packages/stream_chat_persistence/pubspec.yaml index 8debf40cf..e6e8d38b1 100644 --- a/packages/stream_chat_persistence/pubspec.yaml +++ b/packages/stream_chat_persistence/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: path: ^1.8.0 path_provider: ^2.0.1 sqlite3_flutter_libs: ^0.5.0 - stream_chat: ^4.3.0 + stream_chat: ^5.0.0-beta.1 dev_dependencies: build_runner: ^2.0.1 From 02f668bcc233e37df989d98a1ec15d5344383617 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 27 Jun 2022 15:03:16 +0200 Subject: [PATCH 5/6] fix example --- packages/stream_chat/lib/stream_chat.dart | 1 + packages/stream_chat_flutter/example/lib/main.dart | 4 +++- .../example/linux/flutter/generated_plugin_registrant.cc | 4 ++++ .../example/linux/flutter/generated_plugins.cmake | 1 + .../example/windows/flutter/generated_plugin_registrant.cc | 3 +++ .../example/windows/flutter/generated_plugins.cmake | 1 + 6 files changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/stream_chat/lib/stream_chat.dart b/packages/stream_chat/lib/stream_chat.dart index 0479a3786..11b430cd6 100644 --- a/packages/stream_chat/lib/stream_chat.dart +++ b/packages/stream_chat/lib/stream_chat.dart @@ -63,6 +63,7 @@ export 'src/core/models/own_user.dart'; export 'src/core/models/reaction.dart'; export 'src/core/models/read.dart'; export 'src/core/models/user.dart'; +export 'src/core/platform_detector/platform_detector.dart'; export 'src/core/util/extension.dart'; export 'src/db/chat_persistence_client.dart'; export 'src/event_type.dart'; diff --git a/packages/stream_chat_flutter/example/lib/main.dart b/packages/stream_chat_flutter/example/lib/main.dart index 397ab42dd..679b1d42b 100644 --- a/packages/stream_chat_flutter/example/lib/main.dart +++ b/packages/stream_chat_flutter/example/lib/main.dart @@ -263,7 +263,9 @@ class _ChannelPageState extends State { Expanded( child: StreamMessageListView( onMessageSwiped: - (Platform.isAndroid || Platform.isIOS) ? reply : null, + (CurrentPlatform.isAndroid || CurrentPlatform.isIos) + ? reply + : null, threadBuilder: (context, parent) { return ThreadPage( parent: parent!, diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc index b6eaaf8f3..45e103f4b 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugin_registrant.cc @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -22,6 +23,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) file_selector_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin"); file_selector_plugin_register_with_registrar(file_selector_linux_registrar); + g_autoptr(FlPluginRegistrar) screen_retriever_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin"); + screen_retriever_plugin_register_with_registrar(screen_retriever_registrar); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake index b3a513dcb..797d09a4f 100644 --- a/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/linux/flutter/generated_plugins.cmake @@ -6,6 +6,7 @@ list(APPEND FLUTTER_PLUGIN_LIST dart_vlc desktop_drop file_selector_linux + screen_retriever url_launcher_linux window_manager ) diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc index 6b4516b87..6f6ed57bf 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugin_registrant.cc @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -26,6 +27,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("FileSelectorWindows")); FlutterNativeViewPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("FlutterNativeViewPlugin")); + ScreenRetrieverPluginRegisterWithRegistrar( + registry->GetRegistrarForPlugin("ScreenRetrieverPlugin")); ThumblrWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ThumblrWindowsPlugin")); UrlLauncherWindowsRegisterWithRegistrar( diff --git a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake index c74ca8533..436f55adb 100644 --- a/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake +++ b/packages/stream_chat_flutter/example/windows/flutter/generated_plugins.cmake @@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST desktop_drop file_selector_windows flutter_native_view + screen_retriever thumblr_windows url_launcher_windows window_manager From 2f9a1b4ac0ad1215ebaa3c04d989ed836ab49fc5 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 27 Jun 2022 15:07:41 +0200 Subject: [PATCH 6/6] fix deps --- packages/stream_chat_flutter/example/lib/main.dart | 2 -- packages/stream_chat_flutter/pubspec.yaml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/stream_chat_flutter/example/lib/main.dart b/packages/stream_chat_flutter/example/lib/main.dart index 679b1d42b..e38b9937c 100644 --- a/packages/stream_chat_flutter/example/lib/main.dart +++ b/packages/stream_chat_flutter/example/lib/main.dart @@ -1,7 +1,5 @@ // ignore_for_file: public_member_api_docs -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:responsive_builder/responsive_builder.dart'; import 'package:stream_chat_flutter/stream_chat_flutter.dart'; diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index 3d4d882fc..6a47df810 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -29,6 +29,7 @@ dependencies: flutter_portal: ^1.0.0 flutter_slidable: ^1.2.0 flutter_svg: ^1.0.1 + http: ^0.13.4 http_parser: ^4.0.0 image_gallery_saver: ^1.7.0 image_picker: ^0.8.2