Skip to content

Commit

Permalink
Fixed parameter background_image_android. Fixes #652. Exit process …
Browse files Browse the repository at this point in the history
…with error code when unexpected config provided in YAML. Thanks smit-ghl for PR #657. Updated readme.  Thanks Mercutio1243 for the suggestions.  Closes #658.
  • Loading branch information
jonbhanson committed Jan 28, 2024
1 parent 612d985 commit 04ce977
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/cli_commands.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 04ce977

Please sign in to comment.