1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

See if we avoid crashes

https://github.com/software-mansion/react-native-screens#android
This commit is contained in:
Zhiyuan Zheng
2021-04-01 17:50:45 +02:00
parent 965bab4822
commit 5a45e1d0dc

View File

@@ -26,7 +26,7 @@ public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.onCreate(null);
// SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);