- Added parameters for platform-specific images. Closes #375.
- Remove black status bar which appeared on Android devices with a notch. Fixes #311.
- Updated readme.
- Create new storyboard file rather than try to modify existing file. Closes #369.
- Reverted 2.1.6 change of using light settings for dark mode if omitted. Fixes #368.
- Corrected Android 12 color overriding color parameter. Closes #365.
- Add support for setting screen orientation in Android. Closes #344.
- Updated dependencies. Closes #358.
- Added Android 12 background color support. Closes #357.
- Resolve exception that occurs when using remove command. Closes #355.
- Added flavor support. Thanks Vladimir for PR #316! Closes #160.
- Fix androidV31StylesXml not being generated when darkBackgroundImage is set. Thanks (Hallot)[https://github.com/Hallot] for PR #349.
- Fix incorrect android_12 check for image_dark. Closes #347.
- Fix Flutter v3 WidgetsBinding.Instance! Null check warning. Closes #351.
- Use light settings for dark mode if dark mode settings are omitted.
- Add ALT tag for web. Fixes #339.
- Thanks Yousef for PR #332 adding stricter lint rules and zuboje for PR #334 adding deprecated message.
- Add branding support in Android 12. Thanks Vladimir for the PR.
- Updated readme. Closes #317. Closes #318.
- Don't create a blank branding imageset. Fixes #264.
- Fix for pixelated splash image on web. Fixes #263.
- Converted to a plugin since there is now platform specific code.
- Fix Error: Not found: 'dart:js' error. Fixes #292.
- Added preserve() and remove() methods.
- Remove splash from DOM in web.
- Update existing styles xml to support Xiaomi/Redmi devices. Fixes #285, fixes #281.
- Avoid changing logo size on mobile browsers. Fixes #276.
- Provide BuildContext argument to the initialization function.
- BREAKING CHANGE: Added
removeAfter
method which allows the native splash to remain until an initialization routine is complete. In order to use this method, theflutter_native_splash
dependency must be moved fromdev_dependencies
todependencies
. Thanks Ahmed for the tip. Closes #271.
- Merged PR that adds branding. Thanks Faiizii for PR. Closes #256.
- Updated readme. Closes #258.
- Fix so that the splash screen does not cover the app in web. Fixes 253.
- Updates per linter rules.
- Updated readme. Hide splash image in web from screen readers. Closes #231.
- Don't create Android 12 night res files if dark mode is not configured. Fixes #227.
Remove
command takes dark mode into account.
- Updated readme. Thanks @j-j-gajjar for PR #216.
- Remove references to background images in web when images are missing. Fixes #196.
- Updated dependencies.
- Reverted XML dependency to be compatible with stable Flutter branch. Closes #206.
- Added a FAQ to address the deprecation of
SplashScreenDrawable
. Closes #199. - Added
<picture>
tag toindex.html
by finding the</body>
tag instead ofsrc="main.dart.js
, which was removed in Flutter 2.5. Fixes #202. - Added
<item name="android:forceDarkAllowed">false</item>
tag to dark modestyles.xml
to improve Xiaomi support. Closes #184.
- Check the file type and exit with error if it is not a PNG.
- Updated documentation with more FAQs.
- Fixed bug that was preventing copying of images for web. Fixes #192.
- Changed the example to show a secondary splash screen.
- Check that android, web, and ios folders exist before updating respective splash screen.
- Added beta support for Android 12. Closes #175.
- Added path argument to command line. Thanks @lyledean1 for PR #180.
- Fixed bug that was preventing copying of dark background. Fixes #163.
- flutter_native_splash:remove adheres to android/ios/web setting. Fixes #159.
- Updated readme images.
- Corrected Android scaling. Thanks @chris-efission.
- Updated readme image.
- Added unit tests.
- Updated dependency.
- Fixed bug that created duplicate android:windowFullscreen tags in styles.xml. Closes #147.
- Fixed fullscreen in Android dark mode.
- Print errors instead of throwing exceptions for cleaner output.
- Added message for missing subviews in iOS LaunchScreen.storyboard. Fixes #146.
- Removed duplicate exceptions for missing image file since that is now checked at package start.
- Fixed bug that was giving error on copying background image. Closes #144.
- Check that image files exist before starting. Throw an exception if image file not found.
- Create Styles.css before writing to it. Closes #141
- Make all file calls synchronously to make code cleaner.
- Added option for background image. Closes #22.
- Updated readme.
- Added exception for missing/renamed splash image in LaunchScreen.storyboard.
- Corrected location of
picture
tag in web to ensure that splash disappears. Thanks Dawid Dziurla.
- Adds null safety. Closes #127.
- Added support for web. Closes #30.
- Updated the example app to include web.
- Fixed
remove
command which was leaving splash images in place.
- Replaced
android_fullscreen
withfullscreen
parameter, adding iOS support. closes #75, closes #65. - The package no longer modifies the AppDelegate. Fixes #125, fixes #66.
- Added
remove
command. Closes #97, closes #126. - Updated docs.
- Allow users to set Android gravity and iOS ContentMode directly.
- Parse LaunchScreen.storyboard with XML package for more reliability.
- Updated install instructions.
- Fixes #18. Closes #63.
- Added configuration parameter to specify the info.plist location(s).
- Updated documentation.
- Fixes #120, #42.
- Added support for Android -v21 resource folders, which appear in the Flutter beta channel.
- Parse launch_background.xml with XML package for more reliability.
- Fixes #104, #118.
- Handle color parameter that are passed as integers. Fixes #103
- Update code that adds fullscreen mode to Android so that it selects the right style (LaunchTheme) in styles.xml. This should resolve #39, #54, #67, #92, #112, and #117.
- Removed code that modifies MainActivity as it is not longer needed since Flutter embedding V2 uses two styles in styles.xml so full screen is set independently in the style.
- Further modifications to raise pub points: The public API's need to have dartdoc comments, so all public declarations that did not need to be public were changed to private. Added doc comments for public APIs.
- Corrected color of background PNG for iOS. (The channel order of a uint32 encoded color is BGRA.) (#115)
- Modifications to raise pub points: Adherence to Pedantic code standard, and conditional imports to avoid losing points for lack of multiple platform support.
- Updated version number in README.md (thanks @M123-dev)
- Added dark mode.
- (2020-Jan-27) Added createSplashByConfig for external usage
- (2020-Jan-05) Fix run the package command (thanks @tenhobi)
- (2019-Oct-31) Removing comments from the example (thanks @lucalves)
- (2019-Oct-16)
image
parameter is now optional (#26)
- Fix bug on RegEx preventing
package
tag from being found inAndroidManifest.xml
(#25)
- Prevent unhandled int exception in
color
argument (thanks @wemersonrv - PR #23)
- Fix code being added multiple times to
MainActivity
(#19)
- Documentation improvements
- Added
fill
property to use full screen images on Android (thanks @Bwofls2 - PR #8) - Added
android_disable_fullscreen
property to disable opening app in full screen on Android (#14) - Status bar color on Android is now generated dynamically by using same principles as Material Design (thanks @yiss - PR #16)
- Fix a bug on
minSdkVersion
reading (#13)
- Check for
minSdkVersion
>= 21 to add code for changing status bar color to transparent (#12)
- Fix a bug that duplicates entries on
Info.plist
when using multiple</dict>
on iOS (#5) - Fix missing imports on
MainActivity
when not using default class signature (#7)
- Yup, I released a new version because a quote was missing
- Updated README.md adding quotes on
color
property - Add support for colors with
#
prefix
- Fix bug where
MainActivity
file could not be found with custom package names
- Add support for Kotlin
- Add support for Swift
- Add
await
to every step to create splash screen on Android and iOS to prevent async steps causing error
- Fix code style issues pointed by
dartanalzyer
- Fix typo in README.md
- Update README.md
- Fix Travis CI filename
- Added Travis CI and updates to README.md
- Initial release: generate Android and iOS splash screens with a background color and an image