This can happen if you use some native components, where some ViewManager returns a LayoutShadowNode in createShadowNodeInstance ViewGroupManager or something that extends the ReactShadowNode in createShadowNodeInstance ViewManager on Android, and RCTShadowView in the shadowView RCTViewManager on iOS. But it returns null / nil for another View in another ViewManager.
Then, if you combine the children of both types in the same parent, and any of the elements without shadowViews / Nodes is preceded by a changing number of elements that have shadowViews / Nodes, then the indices will not match, and RCTUIManager on iOS and NativeViewHierarchyManager on Android will suppress and create these exceptions.
I recently resolved a similar issue inact-native-svg by forcing all ViewManager to return values, not null / null. https://github.com/facebook/react-native/issues/23350
So try updating response-native-svg to v9.2.4 and the problem can be resolved. Or try moving IonIcons to the end of your children.
msand
source share