π Show a splash screen during app startup. Hide it when you are ready.
MIT License
Bot releases are hidden (Show)
Published by zoontek over 3 years ago
flavor
option for the CI tool (#213 by @cabelin)Published by zoontek over 3 years ago
MainActivity
(#207 by @sdenaci) (fix react-navigation
deep-linking)Published by zoontek over 3 years ago
Published by zoontek over 3 years ago
Published by zoontek almost 4 years ago
MainActivity
creation instead of rejecting the methods Promise (fix #187)Published by zoontek almost 4 years ago
Published by zoontek almost 4 years ago
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)Published by zoontek almost 4 years ago
@react-native-community/cli
2.x
and 3.x
Published by zoontek almost 4 years ago
hide
and show
are now resolved only when your app has focusgetVisibilityStatus()
method is availablenpx react-native generate-bootsplash assets/logo.png \
--background-color=F5FCFF \
--logo-width=100 \
--assets-path=assets
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>;
}
Published by zoontek almost 4 years ago
onNewIntent
event to MainActivity
Published by zoontek about 4 years ago
Published by zoontek about 4 years ago
Published by zoontek over 4 years ago
Published by zoontek over 4 years ago
loadingViewFadeDelay
to prevent a white flash (Fix #103)Published by zoontek over 4 years ago
RNBootSplashActivity
to MainActivity
(#98 by @kirillpisarev)Published by zoontek over 4 years ago
chalk
and prompts
as dependencies to prevent missing packages in production environments (Fix #94)Published by zoontek over 4 years ago
Published by zoontek over 4 years ago
rootView
loadingView
Published by zoontek over 4 years ago
RCTRootView
loadingView
. It prevents some white flashes on slow devices when a dark background color is used.Published by zoontek over 4 years ago