diff --git a/android/app/src/main/java/it/polito/students/MainActivity.java b/android/app/src/main/java/it/polito/students/MainActivity.java index 1094df63..fd37a444 100644 --- a/android/app/src/main/java/it/polito/students/MainActivity.java +++ b/android/app/src/main/java/it/polito/students/MainActivity.java @@ -1,5 +1,6 @@ package it.polito.students; +import android.os.Bundle; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; @@ -7,6 +8,11 @@ public class MainActivity extends ReactActivity { + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(null); + } + // @Override // public void onConfigurationChanged(Configuration newConfig) { // super.onConfigurationChanged(newConfig);