is brownfield Android Fragment loading supported? #182
-
Trying to load a react native fragment with the new architecture results in the error below. This is with the latest val reactNativeFragment = ReactFragment.Builder()
.setComponentName("HelloRN")
.setFabricEnabled(true)
.build()
childFragmentManager
.beginTransaction()
.add(R.id.reactNativeFragment, reactNativeFragment)
.commit()
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I'm facing the same issue when enabling the new architecture on |
Beta Was this translation helpful? Give feedback.
-
@francois-pasquier we do support custom Fragments with the New Architecture. Could you create a small reproducer using https://github.com/react-native-community/reproducer-react-native and we can look into (this feels more like a bug that should probably be reported on https://github.com/facebook/react-native/issues als) |
Beta Was this translation helpful? Give feedback.
-
Any news on this issue? |
Beta Was this translation helpful? Give feedback.
-
Following up here. @gmantuanrosa opened an issue here: We realized that |
Beta Was this translation helpful? Give feedback.
Following up here. @gmantuanrosa opened an issue here:
We realized that
ReactFragment
had a bug and was not properly working with New Architecture. The fix for it is forthcoming and will be included in 0.76.