diff --git a/packages/stream_chat_v1/ios/Flutter/AppFrameworkInfo.plist b/packages/stream_chat_v1/ios/Flutter/AppFrameworkInfo.plist
index f2872cf..4f8d4d2 100644
--- a/packages/stream_chat_v1/ios/Flutter/AppFrameworkInfo.plist
+++ b/packages/stream_chat_v1/ios/Flutter/AppFrameworkInfo.plist
@@ -21,6 +21,6 @@
CFBundleVersion
1.0
MinimumOSVersion
- 9.0
+ 11.0
diff --git a/packages/stream_chat_v1/ios/Runner/Info.plist b/packages/stream_chat_v1/ios/Runner/Info.plist
index a1b8301..31b04f7 100644
--- a/packages/stream_chat_v1/ios/Runner/Info.plist
+++ b/packages/stream_chat_v1/ios/Runner/Info.plist
@@ -67,5 +67,7 @@
en
it
-
-
\ No newline at end of file
+ CADisableMinimumFrameDurationOnPhone
+
+
+
diff --git a/packages/stream_chat_v1/lib/channel_list.dart b/packages/stream_chat_v1/lib/channel_list.dart
index dcc1e91..39a6c0a 100644
--- a/packages/stream_chat_v1/lib/channel_list.dart
+++ b/packages/stream_chat_v1/lib/channel_list.dart
@@ -244,7 +244,8 @@ class _ChannelList extends State {
color: chatTheme.colorTheme.accentError,
),
onPressed: (_) async {
- final res = await showConfirmationDialog(
+ final res =
+ await showConfirmationBottomSheet(
context,
title: 'Delete Conversation',
question:
diff --git a/packages/stream_chat_v1/lib/channel_media_display_screen.dart b/packages/stream_chat_v1/lib/channel_media_display_screen.dart
index 65c9a5d..d3789ed 100644
--- a/packages/stream_chat_v1/lib/channel_media_display_screen.dart
+++ b/packages/stream_chat_v1/lib/channel_media_display_screen.dart
@@ -186,10 +186,6 @@ class _ChannelMediaDisplayScreenState extends State {
attachment: media[position].attachment,
message: media[position].message,
showTitle: false,
- size: Size(
- MediaQuery.of(context).size.width * 0.8,
- MediaQuery.of(context).size.height * 0.3,
- ),
messageTheme: widget.messageTheme,
),
)
diff --git a/packages/stream_chat_v1/lib/chat_info_screen.dart b/packages/stream_chat_v1/lib/chat_info_screen.dart
index 731050d..90c2f07 100644
--- a/packages/stream_chat_v1/lib/chat_info_screen.dart
+++ b/packages/stream_chat_v1/lib/chat_info_screen.dart
@@ -339,7 +339,7 @@ class _ChatInfoScreenState extends State {
}
void _showDeleteDialog() async {
- final res = await showConfirmationDialog(
+ final res = await showConfirmationBottomSheet(
context,
title: AppLocalizations.of(context).deleteConversationTitle,
okText: AppLocalizations.of(context).delete.toUpperCase(),
diff --git a/packages/stream_chat_v1/lib/group_info_screen.dart b/packages/stream_chat_v1/lib/group_info_screen.dart
index a03bace..d283569 100644
--- a/packages/stream_chat_v1/lib/group_info_screen.dart
+++ b/packages/stream_chat_v1/lib/group_info_screen.dart
@@ -654,7 +654,7 @@ class _GroupInfoScreenState extends State {
width: 24.0,
),
onTap: () async {
- final res = await showConfirmationDialog(
+ final res = await showConfirmationBottomSheet(
context,
title: AppLocalizations.of(context).leaveConversation,
okText: AppLocalizations.of(context).leave.toUpperCase(),
@@ -939,7 +939,7 @@ class _GroupInfoScreenState extends State {
size: 24.0,
),
AppLocalizations.of(context).removeFromGroup, () async {
- final res = await showConfirmationDialog(
+ final res = await showConfirmationBottomSheet(
context,
title: AppLocalizations.of(context).removeMember,
okText:
diff --git a/packages/stream_chat_v1/lib/main.dart b/packages/stream_chat_v1/lib/main.dart
index 9169070..a2f5b4c 100644
--- a/packages/stream_chat_v1/lib/main.dart
+++ b/packages/stream_chat_v1/lib/main.dart
@@ -172,11 +172,14 @@ class _MyAppState extends State
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
- builder: (context, child) => StreamChatTheme(
- data: StreamChatThemeData(
- brightness: Theme.of(context).brightness,
+ builder: (context, child) => StreamChatConfiguration(
+ data: StreamChatConfigurationData(),
+ child: StreamChatTheme(
+ data: StreamChatThemeData(
+ brightness: Theme.of(context).brightness,
+ ),
+ child: child!,
),
- child: child!,
),
onGenerateRoute: AppRoutes.generateRoute,
onGenerateInitialRoutes: (initialRouteName) {
diff --git a/packages/stream_chat_v1/macos/Runner.xcodeproj/project.pbxproj b/packages/stream_chat_v1/macos/Runner.xcodeproj/project.pbxproj
index ce10a1f..c973575 100644
--- a/packages/stream_chat_v1/macos/Runner.xcodeproj/project.pbxproj
+++ b/packages/stream_chat_v1/macos/Runner.xcodeproj/project.pbxproj
@@ -21,6 +21,7 @@
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
+ 1E52A3376056853520695B44 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 782D013032AAC6BDCC56A273 /* Pods_Runner.framework */; };
335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
@@ -52,9 +53,10 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
+ 1CCCE971B34B1EF0E9C23CAC /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
- 33CC10ED2044A3C60003C045 /* stream_chat_v1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "stream_chat_v1.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 33CC10ED2044A3C60003C045 /* stream_chat_v1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = stream_chat_v1.app; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
@@ -66,8 +68,11 @@
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
+ 782D013032AAC6BDCC56A273 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
+ 929AC42CE2CDA27FE9235234 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
+ D4F4A1B883B395E86A7B745A /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -75,6 +80,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 1E52A3376056853520695B44 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -99,6 +105,7 @@
33CEB47122A05771004F2AC0 /* Flutter */,
33CC10EE2044A3C60003C045 /* Products */,
D73912EC22F37F3D000D13A0 /* Frameworks */,
+ 3A21EEB06B73EAB5B839B688 /* Pods */,
);
sourceTree = "";
};
@@ -145,9 +152,21 @@
path = Runner;
sourceTree = "";
};
+ 3A21EEB06B73EAB5B839B688 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 1CCCE971B34B1EF0E9C23CAC /* Pods-Runner.debug.xcconfig */,
+ 929AC42CE2CDA27FE9235234 /* Pods-Runner.release.xcconfig */,
+ D4F4A1B883B395E86A7B745A /* Pods-Runner.profile.xcconfig */,
+ );
+ name = Pods;
+ path = Pods;
+ sourceTree = "";
+ };
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 782D013032AAC6BDCC56A273 /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "";
@@ -159,11 +178,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
+ 1A517F7352EDBCB64556EE14 /* [CP] Check Pods Manifest.lock */,
33CC10E92044A3C60003C045 /* Sources */,
33CC10EA2044A3C60003C045 /* Frameworks */,
33CC10EB2044A3C60003C045 /* Resources */,
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
+ 5EA8C195DB09CB61CDB56B17 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
@@ -233,6 +254,28 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
+ 1A517F7352EDBCB64556EE14 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -270,6 +313,23 @@
shellPath = /bin/sh;
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
};
+ 5EA8C195DB09CB61CDB56B17 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
diff --git a/packages/stream_chat_v1/macos/Runner.xcworkspace/contents.xcworkspacedata b/packages/stream_chat_v1/macos/Runner.xcworkspace/contents.xcworkspacedata
index 1d526a1..21a3cc1 100644
--- a/packages/stream_chat_v1/macos/Runner.xcworkspace/contents.xcworkspacedata
+++ b/packages/stream_chat_v1/macos/Runner.xcworkspace/contents.xcworkspacedata
@@ -4,4 +4,7 @@
+
+
diff --git a/packages/stream_chat_v1/macos/Runner/DebugProfile.entitlements b/packages/stream_chat_v1/macos/Runner/DebugProfile.entitlements
index dddb8a3..681e73f 100644
--- a/packages/stream_chat_v1/macos/Runner/DebugProfile.entitlements
+++ b/packages/stream_chat_v1/macos/Runner/DebugProfile.entitlements
@@ -8,5 +8,9 @@
com.apple.security.network.server
+ com.apple.security.network.client
+
+ com.apple.security.files.user-selected.read-write
+
diff --git a/packages/stream_chat_v1/macos/Runner/Release.entitlements b/packages/stream_chat_v1/macos/Runner/Release.entitlements
index 852fa1a..43a8b8c 100644
--- a/packages/stream_chat_v1/macos/Runner/Release.entitlements
+++ b/packages/stream_chat_v1/macos/Runner/Release.entitlements
@@ -4,5 +4,9 @@
com.apple.security.app-sandbox
+ com.apple.security.network.client
+
+ com.apple.security.files.user-selected.read-write
+
diff --git a/packages/stream_chat_v1/pubspec.yaml b/packages/stream_chat_v1/pubspec.yaml
index dae63d7..ec7999d 100644
--- a/packages/stream_chat_v1/pubspec.yaml
+++ b/packages/stream_chat_v1/pubspec.yaml
@@ -13,17 +13,17 @@ dependencies:
stream_chat_flutter:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat_flutter
stream_chat_persistence:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat_persistence
stream_chat_localizations:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat_localizations
flutter_local_notifications: ^9.0.0
flutter_svg: ^1.0.3
@@ -34,6 +34,7 @@ dependencies:
lottie: ^1.2.1
collection: ^1.15.0
sentry_flutter: ^6.5.0
+ flutter_slidable: ^2.0.0
dev_dependencies:
flutter_launcher_icons: ^0.9.2
@@ -43,17 +44,17 @@ dependency_overrides:
stream_chat:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat
stream_chat_flutter_core:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat_flutter_core
stream_chat_flutter:
git:
url: https://github.com/GetStream/stream-chat-flutter.git
- ref: develop
+ ref: v5
path: packages/stream_chat_flutter
flutter: