Skip to content

Commit

Permalink
Refresh the example with the latest version of Flutter. Fix Notificat…
Browse files Browse the repository at this point in the history
…ion bar incorrectly still showing on Xiaomi devices. Fixes #517. Updated dependencies.
  • Loading branch information
jonbhanson committed Mar 5, 2023
1 parent 0e1df26 commit 916839b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
## [2.2.19] - (2023-Mar-05)

- Refresh the example with the latest version of Flutter.
- Fix Notification bar incorrectly still showing on Xiaomi devices. Fixes [#517](https://github.com/jonbhanson/flutter_native_splash/issues/517).
- Updated dependencies.

## [2.2.18] - (2023-Feb-19)

- Remove `v31/styles.xml` files if not in use. Fixes [#514](https://github.com/jonbhanson/flutter_native_splash/issues/514).
- Remove web changes on `remove` command. Fixes [#516](https://github.com/jonbhanson/flutter_native_splash/issues/516).

## [2.2.17] - (2023-Jan-15)

- Updated image dependency to v4.0.10. Fixes [#497](https://github.com/jonbhanson/flutter_native_splash/issues/497).
- Changed image processing from linear to cubic to improve image quality. Fixes [#472](https://github.com/jonbhanson/flutter_native_splash/issues/472).

Expand Down
2 changes: 1 addition & 1 deletion 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.2.18
flutter_native_splash: ^2.2.19
```

Don't forget to `flutter pub get`.
Expand Down
14 changes: 7 additions & 7 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.2.18"
version: "2.2.19"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -123,10 +123,10 @@ packages:
dependency: transitive
description:
name: html
sha256: d9793e10dbe0e6c364f4c59bf3e01fb33a9b2a674bc7a1081693dba0614b6269
sha256: "79d498e6d6761925a34ee5ea8fa6dfef38607781d2fa91e37523474282af55cb"
url: "https://pub.dev"
source: hosted
version: "0.15.1"
version: "0.15.2"
image:
dependency: transitive
description:
Expand Down Expand Up @@ -187,10 +187,10 @@ packages:
dependency: transitive
description:
name: petitparser
sha256: "2ebb289dc4764ec397f5cd3ca9881c6d17196130a7d646ed022a0dd9c2e25a71"
sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
version: "5.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -272,10 +272,10 @@ packages:
dependency: transitive
description:
name: xml
sha256: ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb
sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
url: "https://pub.dev"
source: hosted
version: "6.1.0"
version: "6.2.2"
yaml:
dependency: transitive
description:
Expand Down
5 changes: 5 additions & 0 deletions lib/android.dart
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,11 @@ Future<void> _updateStylesFile({
value: fullScreen.toString(),
);

replaceElement(
launchTheme: launchTheme,
name: 'android:windowDrawsSystemBarBackgrounds',
value: fullScreen.toString());

replaceElement(
launchTheme: launchTheme,
name: 'android:windowLayoutInDisplayCutoutMode',
Expand Down
8 changes: 4 additions & 4 deletions 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.2.18
version: 2.2.19
repository: https://github.com/jonbhanson/flutter_native_splash
issue_tracker: https://github.com/jonbhanson/flutter_native_splash/issues

Expand All @@ -15,13 +15,13 @@ dependencies:
sdk: flutter
flutter_web_plugins:
sdk: flutter
js: ^0.6.4
html: ^0.15.1
js: ^0.6.5
html: ^0.15.2
image: ^4.0.15
meta: ^1.8.0
path: ^1.8.2
universal_io: ^2.2.0
xml: ^6.1.0
xml: ^6.2.2
yaml: ^3.1.1

dev_dependencies:
Expand Down

0 comments on commit 916839b

Please sign in to comment.