Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 12 does not display the startup page for the first time. It will be displayed when it is opened later. It will not be displayed when it is installed for the first time. What is the reason? The version used is 2.2.16 #521

Closed
yj229201093 opened this issue Feb 22, 2023 · 6 comments

Comments

@yj229201093
Copy link

Android 12 does not display the startup page for the first time. It will be displayed when it is opened later. It will not be displayed when it is installed for the first time. What is the reason? The version used is 2.2.16

@paulobreim
Copy link

verify it.
#506 (comment)

@jonbhanson
Copy link
Owner

jonbhanson commented Mar 5, 2023

Please advise how to reproduce. I have not been able to reproduce. I installed this package's example on an API 31 as well as an Android 13 device with the following commands:

flutter build apk
flutter install

When I first launched the app, the splash screen appeared.

Maybe you are experiencing what is described in the readme:

PLEASE NOTE: The splash screen may not appear when you launch the app from Android Studio on API 31. However, it should appear when you launch by clicking on the launch icon in Android. This seems to be resolved in API 32+.

@paulobreim
Copy link

I think the best test you can do is through vscode or android studio.
simply run the program and see the emulator.

@jonbhanson
Copy link
Owner

@paulobreim testing by running from VS code or Android Studio is not a valid test. link.

@jonbhanson
Copy link
Owner

Closed due to inactivity. Feel free to reopen if you still have a problem.

@parshvas1515
Copy link

parshvas1515 commented Jun 24, 2024

Hello

  • I'm facing same issue when using native splash and run app in dev mode with opening from android studio or taping from launcher icon all time icons shows .
  • When creating relase apk at the very first time it will not show icon it will show only background color and if lunch latter on it will show the splash below is the code snippet for same
flutter_native_splash:
  color: "#FFFFFF"
  image: assets/image/ic_splash_icon_new.png
  color_dark: "#FFFFFF"
  image_dark: assets/image/ic_splash_icon_new.png
  android_gravity: center
  android: true
  ios: true
  image_ios: assets/image/logo.png
  image_dark_ios: assets/image/logo.png
  web: false
  android_12:
    color_dark: "#FFFFFF"
    icon_background_color: "#FFFFFF"
    image: assets/image/ic_splash_icon_new.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants