When I used Victory Chart and a few other components of Victory native in my code it throws an error on my android emulator as shown in the below picture. But, it runs fine on iOS:
_

_
I'm getting the same issue.
Hi there I get the exact same issue. There seems to be a version conflict between react-native-svg and react-native
Which version of React Native do you use ?
I had this error with
"react-native": "0.41.2",
"react-native-svg": "^5.1.5",
Hi there,
I think I found what was wrong with the TextShadowNode cast.
I created a PR here to fix it: https://github.com/react-native-community/react-native-svg/pull/268
If it cannot be merged for some reason, do not hesitate to use our fork: https://github.com/bamlab/react-native-svg
Confirmed working with @guitoof's branch -
yarn add bamlab/react-native-svg
Looks like this is a victory-native issue. Somewhere a Text component is being rendered from react-native instead of react-native-svg (according to the bug filed there)
Most helpful comment
Hi there,
I think I found what was wrong with the TextShadowNode cast.
I created a PR here to fix it: https://github.com/react-native-community/react-native-svg/pull/268
If it cannot be merged for some reason, do not hesitate to use our fork: https://github.com/bamlab/react-native-svg