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

After updating splash screen, old splash screen still displays before new. #666

Closed lreardon closed 2 months ago

lreardon commented 2 months ago

Describe the bug

I update my splash screen via dart run flutter_native_splash:create, then build my app with flutter build ipa. When I launch my application, the old splash screen shows prior to the new splash screen.

Configuration

Paste the flutter_native_splash section of your yaml config.

flutter_native_splash:
  color: "#ffffff"
  image: "assets/app_logos/App Logo Light.png"

Device (please complete the following information):

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

  1. Create a splash screen with dart run flutter_native_splash:create.
  2. Build and launch app.
  3. Change the splash screen configuration and rerun dart run flutter_native_splash:create, ostensibly to create a new splash screen.
  4. Build and launch app.

Screenshots

(Screen Recording) https://github.com/jonbhanson/flutter_native_splash/assets/10608816/954ecf1a-9f22-4f20-9688-ceb77b2ec1f0

jonbhanson commented 2 months ago

Did you check out this question in the FAQ: I see a flash of the wrong splash screen on iOS.

jonbhanson commented 2 months ago

Closed due to inactivity. Feel free to reopen if you are still having trouble.