v0.2.0
Minor Changes
- #5
6c123b1Thanks @BANG88! -SplashScreen.setLaunchImage({ uri, backgroundColor, darkBackgroundColor?, widthFraction, maxWidth, aspectRatio })andclearLaunchImage(): from the next cold start on, the native overlay draws that picture on that paper instead of the compiled launch assets (a theme's own artwork, for example), andgetManifest().launchImageletsuseSplashMirrorpaint the identical first JS frame. The OS-drawn launch screen still shows the compiled assets for its first frames.
npm: https://www.npmjs.com/package/@osuki-dev/react-native-splash/v/0.2.0