From de4f531af114f506ac8f92695265e7dbe288ba22 Mon Sep 17 00:00:00 2001 From: Sacha Arbonel Date: Mon, 21 Feb 2022 14:29:12 -0400 Subject: [PATCH 01/15] fix(ui): sample app version bump --- packages/stream_chat_flutter/example/pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/stream_chat_flutter/example/pubspec.yaml b/packages/stream_chat_flutter/example/pubspec.yaml index 9977c1984..75aba62c5 100644 --- a/packages/stream_chat_flutter/example/pubspec.yaml +++ b/packages/stream_chat_flutter/example/pubspec.yaml @@ -27,9 +27,9 @@ dependencies: cupertino_icons: ^1.0.3 flutter: sdk: flutter - stream_chat_flutter: ^2.2.1 - stream_chat_localizations: ^1.1.0 - stream_chat_persistence: ^2.2.0 + stream_chat_flutter: ^3.4.0 + stream_chat_localizations: ^2.1.0 + stream_chat_persistence: ^3.1.0 dev_dependencies: flutter_test: From 68643da42b257bf060501fdcd4b70b0890292383 Mon Sep 17 00:00:00 2001 From: Sacha Arbonel Date: Mon, 21 Feb 2022 14:29:50 -0400 Subject: [PATCH 02/15] fix(ui): sample app gradle fixes --- packages/stream_chat_flutter/example/android/app/build.gradle | 4 ++-- .../example/android/app/src/main/AndroidManifest.xml | 1 + packages/stream_chat_flutter/example/android/build.gradle | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/stream_chat_flutter/example/android/app/build.gradle b/packages/stream_chat_flutter/example/android/app/build.gradle index fbd6268ef..3974f9496 100644 --- a/packages/stream_chat_flutter/example/android/app/build.gradle +++ b/packages/stream_chat_flutter/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 30 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -41,7 +41,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.example" minSdkVersion 21 - targetSdkVersion 30 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/packages/stream_chat_flutter/example/android/app/src/main/AndroidManifest.xml b/packages/stream_chat_flutter/example/android/app/src/main/AndroidManifest.xml index 42c5fa1ea..5e2f5ec01 100644 --- a/packages/stream_chat_flutter/example/android/app/src/main/AndroidManifest.xml +++ b/packages/stream_chat_flutter/example/android/app/src/main/AndroidManifest.xml @@ -16,6 +16,7 @@ android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" + android:exported="true" android:windowSoftInputMode="adjustResize">