React Native AppLoading without Expo
As of 2021,
You may try https://github.com/zoontek/react-native-bootsplash
In case, react-native-splash-screen
is not suitable for you.
I managed it to just do a simple loading placeholder. While loading you have loadingState == true. If it finished to fetch user data e.g. it will load your normal screen, navigation or whatever
if (loginState == true){ return( <View style={{flex: 1, justifyContent: "center", alignItems: "center", backgroundColor: "#000000"}}> <Text style={{color: "#FFFFFF", fontSize: 27, fontFamily: "Poppins-SemiBold"}}>Loading</Text> <ActivityIndicator size="large" color="#FFFFFF" /> </View> ) };