Skip to content

Comments

Fix android splash#401

Merged
n13 merged 4 commits intomainfrom
fix-android-splash
Feb 22, 2026
Merged

Fix android splash#401
n13 merged 4 commits intomainfrom
fix-android-splash

Conversation

@n13
Copy link
Collaborator

@n13 n13 commented Feb 22, 2026

Android splash was broken, now fixed

Android doesn't allow bg image so it's just plain dark grey

This can only be tested by starting the app from scratch so it's quite annoying to test

iOS still good

image

Android now good

image

@n13
Copy link
Collaborator Author

n13 commented Feb 22, 2026

The PR looks solid. It addresses the Android 12+ splash screen limitations by leveraging the branding feature in flutter_native_splash (v2.4.7+).

Review Summary

  1. Dependency Update: Correctly bumped flutter_native_splash to ^2.4.7 in melos.yaml to support the new branding configuration.
  2. Configuration:
    • The switch from image to branding in mobile-app/pubspec.yaml is the correct approach for this version of the package to handle splash screens more flexibly across versions.
    • The android_12 specific configuration with an empty icon (android12_icon_empty_1152.png) and a separate branding image (android12_branding_800x320.png) is a standard workaround to replicate a "background image" feel on Android 12+, which otherwise enforces an icon-in-circle design.
  3. Assets: New assets for Android 12 branding and the empty icon are included.
  4. Native Files: The changes to launch_background.xml (Android) and LaunchScreen.storyboard (iOS) reflect the generated output from the new configuration, adding the branding image views.

Conclusion

The changes are consistent and follow the recommended pattern for handling splash screens on newer Android versions while maintaining support for older ones and iOS.

I've reviewed the code and configuration changes, and they look correct.

@n13 n13 merged commit 1f2fe15 into main Feb 22, 2026
1 check passed
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