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
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 1 additions and 1 deletions

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);