Skip to content

Commit

Permalink
fix: react-native-screens android setup
Browse files Browse the repository at this point in the history
  • Loading branch information
leinelissen committed May 26, 2024
1 parent b01470b commit 968e98d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import com.facebook.react.ReactActivityDelegate
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
import com.facebook.react.defaults.DefaultReactActivityDelegate

import android.os.Bundle;

class MainActivity : ReactActivity() {

/**
Expand All @@ -19,4 +21,8 @@ class MainActivity : ReactActivity() {
*/
override fun createReactActivityDelegate(): ReactActivityDelegate =
DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(null)
}
}

0 comments on commit 968e98d

Please sign in to comment.