Warning: Native component for "BVLinearGradient" does not exist : <p>I'm trying to implement <a href="https://github.com/react-native-community/react-native-linear-gradient" rel="noreferrer">react-native-linear-gradient</a> but I get the following error once I import the library into my react-native component:</p>

<pre><code>import LinearGradient from 'react-native-linear-gradient'
</code></pre>

<p><a href="https://i.stack.imgur.com/EaqTQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/EaqTQ.png" alt="enter image description here"></a></p>

<p>I can successfully compile the project in XCode and the gradient shows up on the physical iPhone but it doesn't in the Simulator.</p>

<p>Has anyone dealt with this problem before? </p>

<p>Again, the problem is that react-native (iOS Simulator) can't find the library but the BVLinearGradient library are there in Xcode and the project compiles successfully.</p>

<p><a href="https://i.stack.imgur.com/wSNvL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wSNvL.png" alt="enter image description here"></a></p>

<p>Thanks</p>
