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.36k stars 215 forks source link

Splash screen shows two images, a small one then a large one. #611

Closed c-lamont closed 1 year ago

c-lamont commented 1 year ago

Describe the bug

On iOS, when the splash screen appears, it first shows a very small version of my image, then shows a big version of my image.

Configuration

flutter_native_splash:
  image: assets/images/splash_logo.png
  color: "#000000"

Device (please complete the following information):

To Reproduce Steps to reproduce the behavior, using the example app: I can't find your sample app.

I added the package in my yaml file under Dev Dependencies. Added the configuration above. Then ran flutter clean && flutter pub get && dart run flutter_native_splash:create Then launched my app.

Screenshots First image: https://ibb.co/kS1cQ3B Second image: https://ibb.co/VL6Pk4R

Additional context None

jonbhanson commented 1 year ago

Can you add a minimal stripped out project here that has the problem?

c-lamont commented 1 year ago

No idea why, but trying again today it is working. I did shut my laptop down over the weekend, so must have helped in some way.