Skip to content

Commit 916839b

Browse files
committed
Refresh the example with the latest version of Flutter. Fix Notification bar incorrectly still showing on Xiaomi devices. Fixes #517. Updated dependencies.
1 parent 0e1df26 commit 916839b

File tree

5 files changed

+25
-12
lines changed

5 files changed

+25
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
## [2.2.19] - (2023-Mar-05)
2+
3+
- Refresh the example with the latest version of Flutter.
4+
- Fix Notification bar incorrectly still showing on Xiaomi devices. Fixes [#517](https://github.com/jonbhanson/flutter_native_splash/issues/517).
5+
- Updated dependencies.
6+
17
## [2.2.18] - (2023-Feb-19)
8+
29
- Remove `v31/styles.xml` files if not in use. Fixes [#514](https://github.com/jonbhanson/flutter_native_splash/issues/514).
310
- Remove web changes on `remove` command. Fixes [#516](https://github.com/jonbhanson/flutter_native_splash/issues/516).
411

512
## [2.2.17] - (2023-Jan-15)
13+
614
- Updated image dependency to v4.0.10. Fixes [#497](https://github.com/jonbhanson/flutter_native_splash/issues/497).
715
- Changed image processing from linear to cubic to improve image quality. Fixes [#472](https://github.com/jonbhanson/flutter_native_splash/issues/472).
816

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ First, add `flutter_native_splash` as a dependency in your pubspec.yaml file.
1919

2020
```yaml
2121
dependencies:
22-
flutter_native_splash: ^2.2.18
22+
flutter_native_splash: ^2.2.19
2323
```
2424
2525
Don't forget to `flutter pub get`.

example/pubspec.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ packages:
108108
path: ".."
109109
relative: true
110110
source: path
111-
version: "2.2.18"
111+
version: "2.2.19"
112112
flutter_test:
113113
dependency: "direct dev"
114114
description: flutter
@@ -123,10 +123,10 @@ packages:
123123
dependency: transitive
124124
description:
125125
name: html
126-
sha256: d9793e10dbe0e6c364f4c59bf3e01fb33a9b2a674bc7a1081693dba0614b6269
126+
sha256: "79d498e6d6761925a34ee5ea8fa6dfef38607781d2fa91e37523474282af55cb"
127127
url: "https://pub.dev"
128128
source: hosted
129-
version: "0.15.1"
129+
version: "0.15.2"
130130
image:
131131
dependency: transitive
132132
description:
@@ -187,10 +187,10 @@ packages:
187187
dependency: transitive
188188
description:
189189
name: petitparser
190-
sha256: "2ebb289dc4764ec397f5cd3ca9881c6d17196130a7d646ed022a0dd9c2e25a71"
190+
sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
191191
url: "https://pub.dev"
192192
source: hosted
193-
version: "5.0.0"
193+
version: "5.1.0"
194194
sky_engine:
195195
dependency: transitive
196196
description: flutter
@@ -272,10 +272,10 @@ packages:
272272
dependency: transitive
273273
description:
274274
name: xml
275-
sha256: ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb
275+
sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
276276
url: "https://pub.dev"
277277
source: hosted
278-
version: "6.1.0"
278+
version: "6.2.2"
279279
yaml:
280280
dependency: transitive
281281
description:

lib/android.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@ Future<void> _updateStylesFile({
435435
value: fullScreen.toString(),
436436
);
437437

438+
replaceElement(
439+
launchTheme: launchTheme,
440+
name: 'android:windowDrawsSystemBarBackgrounds',
441+
value: fullScreen.toString());
442+
438443
replaceElement(
439444
launchTheme: launchTheme,
440445
name: 'android:windowLayoutInDisplayCutoutMode',

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_native_splash
22
description: Customize Flutter's default white native splash screen with
33
background color and splash image. Supports dark mode, full screen, and more.
4-
version: 2.2.18
4+
version: 2.2.19
55
repository: https://github.com/jonbhanson/flutter_native_splash
66
issue_tracker: https://github.com/jonbhanson/flutter_native_splash/issues
77

@@ -15,13 +15,13 @@ dependencies:
1515
sdk: flutter
1616
flutter_web_plugins:
1717
sdk: flutter
18-
js: ^0.6.4
19-
html: ^0.15.1
18+
js: ^0.6.5
19+
html: ^0.15.2
2020
image: ^4.0.15
2121
meta: ^1.8.0
2222
path: ^1.8.2
2323
universal_io: ^2.2.0
24-
xml: ^6.1.0
24+
xml: ^6.2.2
2525
yaml: ^3.1.1
2626

2727
dev_dependencies:

0 commit comments

Comments
 (0)