jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.28k stars 200 forks source link

Logo doesn't appear for splash screens on API 31 and 32 #664

Closed MaximeDelhorme closed 2 months ago

MaximeDelhorme commented 2 months ago

Describe the bug The splash screen logo doesn't appear on API 31 and API 32 for Android. Tested ok on APIs (28,29,30,33,34)

Not sure if it falls in this warning category (because not resolved for me on API32): 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+.

Configuration

flutter_native_splash: color: "#042a49" image: "assets/splash_logo.png"

android_12: image: "assets/splash_logo.png" color: "#042a49" ios: false fullscreen: true

Device (please complete the following information): Tried it on emulator for APIs (28-34) and on real device (Samsung S10) for API32.

MaximeDelhorme commented 2 months ago

Never mind it works when the app is started outside Android studio. Thanks