react-native-bootsplash

πŸš€ Show a splash screen during app startup. Hide it when you are ready.

MIT License

Downloads
514.2K
Stars
3.4K
Committers
41

Bot releases are visible (Hide)

react-native-bootsplash - 6.0.0 Latest Release

Published by zoontek 3 months ago

https://github.com/zoontek/react-native-bootsplash/assets/1902323/25179bac-bb9b-4d9b-b1ca-28a4bd01d567

What's new

  • An expo plugin 🧩
  • A ready option in useHideAnimation config in order to delay your animation, if you want to wait for something else than just layout rendering + images loading 🚦
  • A new Android theme: Theme.BootSplash.TransparentStatus (for transparent status bar + opaque navigation bar) πŸ«₯

What else?

  • --assets-output now has a default value, which is assets/bootsplash. These assets will always be generated, as it's required for expo or the useHideAnimation hook (assets/bootsplash_logo.png become assets/bootsplash/logo.png, etc.)
  • All iOS assets are now suffixed with a short hash of the different splash screen items to prevent caching issues (before, it was only the logo).
  • iOS implementation now always uses a colorset for background color, even if you choose not to support dark mode (before it was inlined in the .storyboard file in such case).

Migration

  • Delete your previously generated assets directory.
  • Run the CLI to generate assets in updated locations.
  • That's all ✨
react-native-bootsplash - 5.5.3

Published by zoontek 6 months ago

react-native-bootsplash - 5.5.2

Published by zoontek 6 months ago

  • Fix regression in parseColor with full hexadecimal color values, introduced in 5.5.1
react-native-bootsplash - 5.5.1

Published by zoontek 6 months ago

  • Fix generator hex color shorthand parsing issue: #F0F was expanded to #F0FF0F, instead of #FF00FF.
react-native-bootsplash - 5.5.0

Published by zoontek 7 months ago

  • Bridgeless mode support (will be the default with new architecture enabled on React Native 0.74)
  • Fix splash screen reappearing during screen transitions on Android when Activity has been killed - #553 by @Protino
  • Use system scheme instead of the one returned by useColorScheme in useHideAnimation, as it can be overridden by Appearance.setColorScheme (fix #565)
react-native-bootsplash - 5.4.1

Published by zoontek 8 months ago

  • Targets membership on BootSplash.storyboard / Colors.xcassets generation to avoid opening Xcode to tick the checkboxes (fix #544)
react-native-bootsplash - 5.4.0

Published by zoontek 8 months ago

  • Remove two steps from the iOS setup process:
    • BootSplash.storyboard and Colors.xcassets are now automatically added to your Xcode project
    • BootSplash.storyboard is now automatically set as UILaunchStoryboardName in your Info.plist
react-native-bootsplash - 5.3.0

Published by zoontek 9 months ago

  • The CLI generator now suffixes the iOS assets filenames with a hash of the file (kinda like webpack with chunks filenames) in order to invalidate springboard cache (see this article for more infos)
react-native-bootsplash - 5.2.2

Published by zoontek 10 months ago

  • Fix AndroidManifest.xml namespace deprecation warning
react-native-bootsplash - 5.2.1

Published by zoontek 10 months ago

  • Update default darkContentBarsStyle value for easier light / dark themes handling
react-native-bootsplash - 5.2.0

Published by zoontek 10 months ago

  • Add darkContentBarsStyle android custom style property in Theme.BootSplash.EdgeToEdge

Example with [email protected], which has the same feature:

<resources>
  <style name="AppTheme" parent="Theme.EdgeToEdge">
    <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
    <item name="darkContentBarsStyle">true</item>
  </style>

  <style name="BootTheme" parent="Theme.BootSplash.EdgeToEdge">
    <item name="bootSplashBackground">@color/bootsplash_background</item>
    <item name="bootSplashLogo">@drawable/bootsplash_logo</item>
    <item name="darkContentBarsStyle">true</item>
    <item name="postBootSplashTheme">@style/AppTheme</item>
  </style>
</resources>
react-native-bootsplash - 5.1.4

Published by zoontek 10 months ago

  • Fix new architecture compatibility for React Native 0.73 (closes #520)
react-native-bootsplash - 5.1.3

Published by zoontek 11 months ago

  • Introduce a Status based lifecycle on Android to avoid relying on nullability (fix #510)
  • Rollback hiding the splash screen on activity pause (fix #512)
react-native-bootsplash - 5.1.2

Published by zoontek 11 months ago

react-native-bootsplash - 5.1.1

Published by zoontek 11 months ago

  • Fix android.graphics.drawable.Drawable.isProjected() on a null object reference issue on old Android versions when no brand image is available.
react-native-bootsplash - 5.1.0

Published by zoontek 12 months ago

  • Keep half-sized logo on Samsung OneUI v4 to avoid a logo size jump (as Samsung logo size computation is incorrect on this version of their OS, there's not a lot of choices - see https://github.com/zoontek/react-native-bootsplash/issues/466)
  • Set android:forceDarkAllowed to false in Theme.BootSplash (might fix #497)
  • Allow logo to be undefined in useHideAnimation config
  • Update the CLI generator to use prettier v3
  • Improve the CLI generator Gumroad issues reporting (when using a πŸ”‘ license key)
react-native-bootsplash - 5.0.4

Published by zoontek about 1 year ago

react-native-bootsplash - 5.0.3

Published by zoontek about 1 year ago

  • Fix an issue that occurred when MainActivity was not attached to window manager (fixes #488)
react-native-bootsplash - 5.0.2

Published by zoontek about 1 year ago

react-native-bootsplash - 5.0.1

Published by zoontek about 1 year ago

Package Rankings
Top 1.15% on Npmjs.org
Badges
Extracted from project README
mit licence npm version npm downloads platform - android platform - ios
Related Projects