Repository navigation
error running app with flatuiimplementation #12770
Description
Activity
I don't think you've provided enough details for core developers to reproduce and debug this issue. Can you please re-open this issue when you've identified exactly what your app is doing to cause this error, and provide the sample code that can cause it to happen?
@ericvicenti plz reopen this issue,
Nodesworks really well on RN below 0.42, it solves a lot of layout issues in may app, but I got this error since I upgrade RN to 0.42, and I have no idea what happened and how to resolve it, as it throws the error and stop the initialization of the app. So I've stopped upgrade the android version of my app. I thought it's still in experimental and will be resolved, but it's still there on RN0.43cc @ahmedre
Can you provide any more details about how to get this error?
@ericvicenti We've encountered the same problem on our project as well. It seems that this is a bug related to RN's
Textcomponent. To verify it we created a new project usingreact-native init, overridenReactNativeHost'sgetUIImplementationProvidermethod to returnnew FlatUIImplementationProvider()inMainApplication.javaand lauched the project. The app produced the following error:

The app lauches fine withTextcomponents removed.Reacted by Adrien Ogor, Mantas Janulionis, Christian Bach, Hicks, Nathan Broadbent, Daemon1993, Ivan, Vladimir Besermenji and mikeevstropov@ericvicenti I'd like to provide you more info but I have thousands of lines of code and this error does not give me enough info to find the underlying code issue. Hopefully the info from everyone above will be enough.
cc @AaaChiuuu since i am traveling at the moment
@ericvicenti, @AaaChiuuu, any news on the issue? Moreover, I suggest to reopen it as there is a very clear way to reproduce it.
I'm seeing the same exact issue using React-Native 42.3
I'm also seeing this issue after upgrading to RN42.0
@ayc1, as I already mentioned, creating initial RN 42.0 project via CLI with nodes enabled in
MainApplication.javawas enough to reproduce the error. If it'll be of any help, I can create a repo and share it here.We to are seeing the same issue in our app. Worked prior to 0.42.0 and now we have the same yoga error. For us the error is related to the Text component.
Hi @ericvicenti , could we reopen this issue ? Or do we have to create another one ?
Like @gerbenis with all versions after 0.42.0 even the react-native init doesn't work. So we have to stay at 0.41.x .
Thanks !
<View> <Image style={{height: 30, width: 30}} source={{uri : 'ic_home_black_24dp'}}/> <Text>Home</Text> </View>I did a sample to try
FlatUIImplementationbut hit the same issueReacted by Christian Bach, Nathan Broadbent and Jayasagar Jagirapu18 remaining items
- added a commit that references this issue
on Feb 27, 2018 - added a commit that references this issue
on Mar 6, 2018 - added a commit that references this issue
on Mar 12, 2018 - added a commit that references this issue
on Mar 16, 2018 - added a commit that references this issue
on Mar 29, 2018 - added a commit that references this issue
on Apr 9, 2018 - added a commit that references this issue
on Apr 11, 2018 - added a commit that references this issue
on Jun 5, 2018 - added a commit that references this issue
on Jun 6, 2018 - added a commit that references this issue
on Aug 17, 2018 - locked as resolved and limited conversation to collaborators
on Sep 21, 2018 - addedResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
on Sep 21, 2018
I'm using RN 42 in genymotion. It works fine in IOS and android when not using the new experimental android nodes. When I add the code to android to "turn on" the new experimental nodes I get the following error.
thanks