expo-splash-screen vs react-native-bootsplash #2379
-
Both expo-splash-screen and react-native-bootsplash are packages that allow you to add splash screens to your React Native app. So why add them both ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @aymane-missouri-nw, thanks for the question - I moved this over to Q&A as part of a discussion. @yulolimum Can you help out with an explanation here? |
Beta Was this translation helpful? Give feedback.
-
Hey @aymane-missouri-nw! Good question! Since we support both expo (managed) and bare (vanilla) workflows, we added both packages to the boilerplate. When using the managed workflow, Why don't we just pick one and use it for both:
Other considerations:
In conclusion, on managed workflow (expo), you pretty much have to use Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hey @aymane-missouri-nw! Good question!
Since we support both expo (managed) and bare (vanilla) workflows, we added both packages to the boilerplate. When using the managed workflow,
expo-splash-screen
is used. When using the bare workflow,react-native-bootsplash
is used.Why don't we just pick one and use it for both:
react-native-bootsplash
isn't supported on the managed workflow out of the box. You might be able to create an expo config-plugin along withprebuild
to use it, but we haven't tried that so can't recommend.expo-splash-screen
can be used both on managed and bare workflows; however, as far as i know, it does not support the new Android 12 splashscreen API. You will essenti…