Skip to content

fix(splash): regenerate native launch assets (OS launch splash showed old image)#670

Merged
TaprootFreak merged 1 commit into
stagingfrom
feature/splash-native-regenerate
Jun 3, 2026
Merged

fix(splash): regenerate native launch assets (OS launch splash showed old image)#670
TaprootFreak merged 1 commit into
stagingfrom
feature/splash-native-regenerate

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Problem

After #667 replaced assets/images/splash/splash_background.png, the OS launch splash (the full-screen image shown for ~1–3 s on app start, before Flutter loads) still showed the old image — even though the in-app Welcome/HomePage background (which uses the Flutter asset directly) was correct.

Cause

The iOS launch splash is not loaded from splash_background.png directly. The project uses flutter_native_splash, which generates native launch assets (ios/Runner/Assets.xcassets/LaunchImage.imageset/*, android/app/src/main/res/drawable-*/splash.png). #667 swapped the source image but did not re-run flutter_native_splash:create, so those generated assets were stale.

Fix

Ran dart run flutter_native_splash:create -p pubspec.yaml → regenerated the native iOS + Android launch assets from the new background. Verified the new LaunchImage.png shows the updated subline ("Sicher. Einfach. Bankenunabhängig."). No code/config change; Info.plist/styles.xml/launch_background.xml unchanged; pubspec.lock intentionally not touched.

Note

The OS launch splash only updates in a new build (next v1.0.x). The in-app Welcome background was already correct from v1.0.83 onward.

#667 only replaced the Flutter source asset (splash_background.png) but
did not re-run flutter_native_splash:create, so the OS launch splash
(iOS LaunchImage.imageset + Android res/drawable-*/splash.png) still
showed the old image. Regenerated those native assets from the new
background so the launch splash matches the in-app Welcome background.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 3, 2026 20:16
@TaprootFreak TaprootFreak merged commit bb57fc3 into staging Jun 3, 2026
9 checks passed
@TaprootFreak TaprootFreak deleted the feature/splash-native-regenerate branch June 3, 2026 20:16
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

Successfully merging this pull request may close these issues.

1 participant