pure_native_splash 0.3.1
pure_native_splash: ^0.3.1 copied to clipboard
Solid-color native splash for Android and iOS (light & dark), hiding the Android 12+ icon flash.
0.3.1 #
createandremovenow print a banner and step-by-step progress instead of a plain file list.
0.3.0 #
- Add
dart run pure_native_splash:remove: restores the stockflutter createsplash files and deletes everything this package generated. Files that no longer carry the generated marker (edited by hand or written by another tool) are left untouched and reported. - The generated
LaunchScreen.storyboardno longer contains theLaunchImageimage view. On stock projects nothing changes visually (those images are blank), but on projects migrating from flutter_native_splash this stops the previous logo from reappearing on top of the splash color. - An unquoted hex color (e.g.
color: #FFFFFF, which YAML reads as an empty value plus a comment) is now a clear error suggesting quotes, instead of silently falling back to the default color. createnow prints theflutter cleanreminder only when it actually created new Android resource folders, and names them.
0.2.0 #
- Fix: the background color now applies on Android <12, not just 12+.
Previously only the Android 12+ splash-screen APIs were themed via
values-v31/values-night-v31; devices below API 31 kept the stock white background regardless ofpure_native_splash.color. Fixed by generatingdrawable/launch_background.xml,drawable-v21/launch_background.xml,drawable-night/launch_background.xml, anddrawable-night-v21/launch_background.xml. - Add iOS support: generates
ios/Runner/Base.lproj/LaunchScreen.storyboardandios/Runner/Assets.xcassets/LaunchBackground.colorset/Contents.jsonfor a solid-color light/dark-mode launch background. colorandcolor_darkare now optional inpure_native_splash:; they default to#FFFFFFand#000000respectively when omitted. Thepure_native_splash:section itself is still required.dart run pure_native_splash:createnow writes to whichever ofandroid//ios/platform directories are present instead of requiring Android specifically; it only errors if neither is found.
0.1.0 #
- Initial release:
dart run pure_native_splash:createsets the native Android splash background color and hides the Android 12+ launcher icon flash. No logo/branding support by design.