You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is some sort of error that only occurs on old android devices. I vaguely remember something similar when running on an old 4.4 device. At the time, the app seemed to recover on it's own so it didn't seem important/urgent.
It seems Android doesn't like converting non-Boolean values into booleans. So I'm now ensuring that all values which I'm using as booleans are in fact, booleans.
I have changed all occurrences similar to this where foo may not be true or false:
{foo && <MyComponent />}
…into one of these which converts foo into a boolean if it is not:
Just in case someone else lands here and none of the above works I will add what worked for me.
I had the same error and started removing lines until it didn't happen anymore. Lo and behold - the last line I deleted was <View> <MyComponent /> </View> Did you notice the spaces surrounding MyComponent? It was a Homer moment for me
Error in tinyrobot
com.facebook.react.uimanager.IllegalViewOperationException in Layout.java:1912
View on Bugsnag
Stacktrace
View full stacktrace
Created by bengtan via Bugsnag
The text was updated successfully, but these errors were encountered: