Unbelievable. I spent 12 hrs basically debugging this issue.
maybe it will be of benefit to someone as dumb as I am.
Somewhere in my code I was trying to debug fix the layout of an image in flex boxes. reading around some blog/article/SO answer said to pay attention to the onLayout event
so i created an event handler like
function layoutUpdate(evt){
console.log('layout updated', evt);
}
and in my code the image was declared like
<Image source={logoImg} onLayout={layoutUpdate}/>
Paying attention to the XDE console, i never saw the output for layout updated.
I changed the function to
function layoutUpdate(evt){
console.log('layout updated', evt.nativeEvent);
}
And all of a sudden no more crashing.
Any idea why console.log/Genymotion didn’t like the SyntheticEvent as a parameter?