From 1e617369db3357210bd567931b3d7ec8dc23f47b Mon Sep 17 00:00:00 2001 From: Nicolas Burtey Date: Sun, 28 Apr 2024 19:15:34 -0600 Subject: [PATCH] fix: crash when app is back from sleep --- android/app/src/main/java/com/galoyapp/MainActivity.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/src/main/java/com/galoyapp/MainActivity.kt b/android/app/src/main/java/com/galoyapp/MainActivity.kt index 707be478f2..19b4546ac4 100644 --- a/android/app/src/main/java/com/galoyapp/MainActivity.kt +++ b/android/app/src/main/java/com/galoyapp/MainActivity.kt @@ -10,6 +10,10 @@ import com.zoontek.rnbootsplash.RNBootSplash class MainActivity : ReactActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(null) + } + /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component.