From f3779f34f53d892c660e4ba2f1a5b712c3a027d1 Mon Sep 17 00:00:00 2001 From: Emre Esen Date: Sat, 9 Mar 2024 12:30:17 +0300 Subject: [PATCH 1/2] v114 is completed --- CHANGELOG.md | 23 +++++++ README.md | 2 +- example/android/app/build.gradle | 6 +- .../android/app/src/main/AndroidManifest.xml | 1 + example/android/build.gradle | 4 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- example/pubspec.lock | 68 +++++++++---------- example/pubspec.yaml | 2 +- lib/progress_dialog.dart | 10 +-- pubspec.lock | 62 ++++++++--------- pubspec.yaml | 2 +- 11 files changed, 104 insertions(+), 78 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c2eea3..0bb1997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,62 +1,85 @@ +## [1.1.4] - 09.03.2024 + +* Added support for `useRootNavigator` parameter in the `ProgressDialog` constructor. +* `WillPopScope` usage has been deprecated in favor of `PopScope` +* `SurfaceTintColor` now customizable + ## [1.1.3] - 08.02.2023 + * Issues 22 and 28 fix. * Readme edited. * Removed required fields in update method ## [1.1.2] - 22.01.2023 + * Auto hidden added. * Readme edited. ## [1.1.1] - 21.01.2023 + * Readme edited. ## [1.1.0] - 21.01.2023 + * Bug Fix. * Cancel option added. * Dialog status callback added. ## [1.0.9] - 09.12.2022 + * Assets path edited. * The close function can be used with delay. * closeWithDelay property added. ## [1.0.8] - 20.05.2022 + * Bug Fix. ## [1.0.7] - 01.05.2022 + * Bug Fix. ## [1.0.6] - 28.03.2022 + * Readme edited. * Completed type added. ## [1.0.3] - 15.08.2021 + * Bug fix ## [1.0.2] - 04.05.2021 + * The back button was prevented from closing the dialog. * Border radius added. ## [1.0.1] - 01.04.2021 + * Example edited. * Readme edited. ## [1.0.0] - 31.03.2021 + * Null Safety migrated. * Bug fix. ## [0.0.5] - 14.02.2021 + * New properties added. ## [0.0.4] - 29.01.2021 + * Progress Type added. * Documentation and example codes edited. ## [0.0.3] - 21.01.2021 + * Msg added to update method. ## [0.0.2] - 16.01.2021 + * Readme and description edited. ## [0.0.1] - 16.01.2021 + * Initial build for flutter sn_progress_dialog package. diff --git a/README.md b/README.md index 70a72ab..c5dbd78 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Progress dialog package for flutter You must add the library as a dependency to your project. ```yaml dependencies: - sn_progress_dialog: ^1.1.3 + sn_progress_dialog: ^1.1.4 ``` You should then run `flutter packages get` diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 408ce2d..a44017b 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,8 +39,8 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.snstudio.example" - minSdkVersion 16 - targetSdkVersion 29 + minSdkVersion flutter.minSdkVersion + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index ad769be..9273e3b 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -15,6 +15,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">