'requireNativeComponent: 'RNSVGLinearGradient' was not found in the UIManager
Solution 1:[1]
This worked for me:
yarn add react-native-svg
Solution 2:[2]
I had the exact same problem with react-native-chart-kit's PieChart on ios. I solved it by doing 'pod install' in the ios directory, which installed RNSVG (12.3.0). It all worked fine after that, once I'd recompiled everything via Xcode.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Garfield Heron |
| Solution 2 | Andy Duncan |

