How to set the splash screen for react-native android -
how 1 set splash screen react-native android, can't find on topic , thought odd.
thanks
i had tried 3 of following ways. first 1 using android splash screen react-native projects.
using npm package written other.
reference: https://github.com/remobile/react-native-splashscreen
create
splashscreen
component , redirect afterward.reference: how create kind of splash screen/launching screen, disappears after app loaded? (react native)
natively in
java
code.reference: https://www.bignerdranch.com/blog/splash-screens-the-right-way/
i have fetch
request in componentdidmount()
of initialroute
.
using first way list above performs request while showing splash screen.
whereas second way, needs wait until splashscreen
component unmounted.
third way more codes write , maintain.
Comments
Post a Comment