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

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

Open lreardon opened 9 months ago

lreardon commented 9 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 9 months ago

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

jonbhanson commented 9 months ago

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

ilyasarafathemvigo commented 4 months ago

Getting same issue on iOS @jonbhanson @lreardon any solution

mattrltrent commented 1 month ago

Same issue, this doesn't fix:

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

madnanpak commented 4 weeks ago

@jonbhanson I'm facing the same issue on iPhone 15 Pro Max (simulator). Reinstalling the app isn't working for me. I don't think it's a caching issue. The default splash isn't being removed after generating a splash using this package.