Skip to content

Status/Notification bar still showing during splash screen on Android 12 #517

@Nathan617

Description

@Nathan617

Attention: If you open a bug report without sufficient details, it will be closed. Is your question
related to Android 12? Please check the notes on Android 12 first (https://pub.dev/packages/flutter_native_splash#android-12-support).

The status bar / notification bar still shows up when the splash screen shows. I need to have my splash screen full screen. Works on iOs but I keep having the status/notification bar in black on top during splash screen on Android 12.

A clear and concise description of what the bug is.

Android Studio : 2022.1
Xcode : 14.2
Flutter : 3.7.3
flutter_native_splash : ^2.2.17

Paste the flutter_native_splash section of your yaml config.

dependencies:
flutter:
sdk: flutter

cupertino_icons: ^1.0.2
pinput: ^2.2.23
flutter_secure_storage: ^8.0.0
get_it: ^7.2.0
get: ^4.6.5
cached_network_image: ^3.2.3
flutter_svg: ^2.0.1
flutter_easyloading: ^3.0.5
url_launcher: ^6.1.9
http: ^0.13.5
internet_connection_checker: ^1.0.0+1
flutter_native_splash: ^2.2.17

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^2.0.0

Run commands to generate splash screen

1) flutter clean

2) flutter pub get

3) flutter pub run flutter_native_splash:create

flutter_native_splash:
image: assets/images/logo_transparent_white three_quarter_size.png
color: "EA4450"
fullscreen: true

Device (please complete the following information):

  • Device: [Huawei Mate 20 Pro]
  • OS: [EMUI version: 12.0.0]

To Reproduce
Steps to reproduce the behavior, using the example app:
I run it on my physical Huawei Mate 20 Pro phone.

Additional context
Works on iOS as it is full screen. Not Android 12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions