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

the splash screen doesn't show in android devices below android 12 but in android 12 it's work fine #682

Open
maysam-ite opened this issue Mar 26, 2024 · 1 comment

Comments

@maysam-ite
Copy link

maysam-ite commented Mar 26, 2024

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).

Describe the bug

the splash screen doesn't show in android devices below android 12 but in android 12 it's work fine

Configuration
flutter_native_splash: ^2.2.8

flutter_native_splash:
  android: true
  ios: true
  image: "assets/images/newsplash.png"
  color: "#6E429A"
  android_12:
    image: "assets/images/newsplash.png"
    color: "#6E429A"

Device (please complete the following information):

  • Device: android's
  • OS: less than android 12

To Reproduce
Steps to reproduce the behavior, using the example app:

  1. Set the config on the example app to '...'
  2. Run in an emulator configured with '...'
  3. See error

Screenshots
photo_2024-03-26_03-28-54

If applicable, add screenshots to help explain your problem. If in doubt, attach a screenshot.

Additional context
the image doesn't show only the background color

@jonbhanson
Copy link
Owner

When I applied your configuration to the example app, the splash appear on Android 11. Please include a minimal copy of your app source the reproduces the problem.

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

2 participants