diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e01a7..09abd5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ -## [2.3.9] +## [2.3.10] - (2024-Jan-28) + +- Fixed parameter `background_image_android`. Fixes [#652](https://github.com/jonbhanson/flutter_native_splash/issues/652). +- Exit process with error code when unexpected config provided in YAML. Thanks [smit-ghl](https://github.com/smit-ghl) for [PR #657](https://github.com/jonbhanson/flutter_native_splash/pull/657). +- Updated readme. Thanks [Mercutio1243](https://github.com/Mercutio1243) for the suggestions. Closes [#658](https://github.com/jonbhanson/flutter_native_splash/issues/658). + +## [2.3.9] - (2023-Dec-31) - Resolve lint warnings. Update readme. -## [2.3.8] +## [2.3.8] - (2023-Dec-07) - Make functions private that should not be public. diff --git a/README.md b/README.md index 35eedfd..8b2d145 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ First, add `flutter_native_splash` as a dependency in your pubspec.yaml file. ```yaml dependencies: - flutter_native_splash: ^2.3.9 + flutter_native_splash: ^2.3.10 ``` Don't forget to `flutter pub get`. @@ -74,9 +74,9 @@ flutter_native_splash: #image_dark: assets/splash-invert.png #branding_dark: assets/dart_dark.png - # Android 12 handles the splash screen differently than previous versions. Please visit - # https://developer.android.com/guide/topics/ui/splash-screen - # Following are Android 12 specific parameter. + # From Android 12 onwards, the splash screen is handled differently than in previous versions. + # Please visit https://developer.android.com/guide/topics/ui/splash-screen + # Following are specific parameters for Android 12+. android_12: # The image parameter sets the splash screen icon image. If this parameter is not specified, # the app's launcher icon will be used instead. diff --git a/example/pubspec.lock b/example/pubspec.lock index 4008088..6016ccf 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -124,7 +124,7 @@ packages: path: ".." relative: true source: path - version: "2.3.9" + version: "2.3.10" flutter_test: dependency: "direct dev" description: flutter diff --git a/lib/cli_commands.dart b/lib/cli_commands.dart index 8efd6c8..a591213 100644 --- a/lib/cli_commands.dart +++ b/lib/cli_commands.dart @@ -406,7 +406,7 @@ class _Parameter { static const android12Section = 'android_12'; static const androidScreenOrientation = 'android_screen_orientation'; static const backgroundImage = 'background_image'; - static const backgroundImageAndroid = 'background_android'; + static const backgroundImageAndroid = 'background_image_android'; static const backgroundImageIos = 'background_ios'; static const backgroundImageWeb = 'background_web'; static const brandingDarkImage = 'branding_dark'; diff --git a/pubspec.yaml b/pubspec.yaml index bfe4b5b..3a370ae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: flutter_native_splash description: Customize Flutter's default white native splash screen with background color and splash image. Supports dark mode, full screen, and more. -version: 2.3.9 +version: 2.3.10 repository: https://github.com/jonbhanson/flutter_native_splash issue_tracker: https://github.com/jonbhanson/flutter_native_splash/issues