mirror of https://github.com/tooot-app/app
See if we avoid crashes
https://github.com/software-mansion/react-native-screens#android
This commit is contained in:
parent
965bab4822
commit
5a45e1d0dc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue