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 hidden (Show)

react-native-bootsplash - 3.2.0

Published by zoontek over 3 years ago

  • Add android flavor option for the CI tool (#213 by @cabelin)
  • Fix an Android crash that happen on dev reload when the module wasn't initialised (#215 by @b3coded)
  • Update ReScript bindings (#212 by @MoOx)
react-native-bootsplash - 3.1.5

Published by zoontek over 3 years ago

  • Fix: Only forward non-null intent type to MainActivity (#207 by @sdenaci) (fix react-navigation deep-linking)
react-native-bootsplash - 3.1.4

Published by zoontek over 3 years ago

  • Forward intent type to MainActivity (#205 by @sdenaci)
react-native-bootsplash - 3.1.3

Published by zoontek over 3 years ago

  • Use activity as context instead - Allow dark mode on Android (#199 by @slaci)
  • Bump project dependencies
react-native-bootsplash - 3.1.2

Published by zoontek almost 4 years ago

  • Backoff and wait for MainActivity creation instead of rejecting the methods Promise (fix #187)
react-native-bootsplash - 3.1.1

Published by zoontek almost 4 years ago

  • [chore] Update project dependencies
react-native-bootsplash - 3.1.0

Published by zoontek almost 4 years ago

  • Mount back the splash screen on JS bundle reload in development mode
  • Switch to a task queue paradigm: Instead of rejecting the Promise in case of simultaneous operations (ex: triggering a fading show then hide before the show has completed), tasks are enqueued and will resolve in order (fix #184 #161)
react-native-bootsplash - 3.0.1

Published by zoontek almost 4 years ago

  • Add CLI generator support of @react-native-community/cli 2.x and 3.x
react-native-bootsplash - 3.0.0

Published by zoontek almost 4 years ago

  • The codebase has been rewritten in TypeScript, the bundling is now handled by πŸ‘·β€β™‚οΈ @react-native-community/bob
  • The API is now Promise based: hide and show are now resolved only when your app has focus
  • A new getVisibilityStatus() method is available
  • The CLI tool has been updated to become a react native CLI plugin:
npx react-native generate-bootsplash assets/logo.png \
  --background-color=F5FCFF \
  --logo-width=100 \
  --assets-path=assets

Breaking changes

  • Deprecate iOS 9.x support
  • The hide and show methods duration config has been replaced with a simple fade boolean:
import React, { useEffect } from "react";
import { Text } from "react-native";
import RNBootSplash from "react-native-bootsplash";

function App() {
  useEffect(() => {
-   RNBootSplash.hide({ duration: 250 });

+   RNBootSplash.hide({ fade: true })
+     .then(() => console.log("fading is over"))
+     .catch(() => console.log("cannot be hidden"));
  }, []);

  return <Text>My awesome app</Text>;
}
react-native-bootsplash - 2.2.8

Published by zoontek almost 4 years ago

  • Forward onNewIntent event to MainActivity
react-native-bootsplash - 2.2.7

Published by zoontek about 4 years ago

  • Allow extending with custom activity class (#171 by @andresesfm)
react-native-bootsplash - 2.2.6

Published by zoontek about 4 years ago

  • Fix: Xcode 12 compatibility (#160 by @vikrantnegi)
react-native-bootsplash - 2.2.5

Published by zoontek over 4 years ago

  • Only include desired files in npm package (package size reduction of almost 98%!) (#128 by @mikehardy)
react-native-bootsplash - 2.2.4

Published by zoontek over 4 years ago

  • Respect loadingViewFadeDelay to prevent a white flash (Fix #103)
react-native-bootsplash - 2.2.3

Published by zoontek over 4 years ago

  • Forward every intent from RNBootSplashActivity to MainActivity (#98 by @kirillpisarev)
react-native-bootsplash - 2.2.2

Published by zoontek over 4 years ago

  • Install chalk and prompts as dependencies to prevent missing packages in production environments (Fix #94)
react-native-bootsplash - 2.2.1

Published by zoontek over 4 years ago

  • Fix a regression: splash screen was not dismissed after refreshing app in dev mode (Fix #93)
react-native-bootsplash - 2.2.0

Published by zoontek over 4 years ago

  • Ensure that the splash screen is visible before removing the rootView loadingView
  • Add JS named exports (#90 by @rhdeck)
react-native-bootsplash - 2.1.0

Published by zoontek over 4 years ago

  • [iOS] Updated logic: We now rely on RCTRootView loadingView. It prevents some white flashes on slow devices when a dark background color is used.
  • [Android] Check layout existence before removing it (fix #68)
react-native-bootsplash - 2.0.4

Published by zoontek over 4 years ago

  • Remove unwanted animations on addSubview / removeFromSuperview on iOS
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