diff --git a/app/android/app/src/main/java/ca/bc/gov/BCWallet/MainActivity.java b/app/android/app/src/main/java/ca/bc/gov/BCWallet/MainActivity.java index 2ced4ce82..1c5b0ff5b 100644 --- a/app/android/app/src/main/java/ca/bc/gov/BCWallet/MainActivity.java +++ b/app/android/app/src/main/java/ca/bc/gov/BCWallet/MainActivity.java @@ -7,9 +7,17 @@ import androidx.core.app.NotificationManagerCompat; import android.content.Intent; import android.content.res.Configuration; +import android.os.Bundle; public class MainActivity extends ReactActivity { + // react-native-screens override + // https://github.com/software-mansion/react-native-screens#android + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(null); + } + /** * Detects changes in device orientation and sends them to JavaScript by broadcasting an event. * This is used to support the camera on different tablet orientations.