879479119 / react-native-shadow

A SVG shadow component powered with react-native-svg,which can provide shadow on Android like iOS ^_^
MIT License
612 stars 82 forks source link

Error: No ViewManager defined for class RNSVGDefs. #16

Open spicyboiledfish opened 7 years ago

spicyboiledfish commented 7 years ago

I just want to set shadow for Android in React Native. And then I followed this link https://stackoverflow.com/questions/41320131/how-to-set-shadows-in-react-native-for-android. The steps are from the github: https://github.com/879479119/react-native-shadow.

spicyboiledfish commented 7 years ago

qq 20170720161856

sdnts commented 7 years ago

You need to configure react-native-svg as well. Follow steps in README here

BCsl commented 7 years ago

@spicyboiledfish if you are using react-native >=0.47 , you should try to delete this SvgPackage#createJSModules method