Warning: there is no native component for "BVLinearGradient"

I am trying to implement react-native-linear-gradient , but after I import the library into my react component, I get the following error:

import LinearGradient from 'react-native-linear-gradient'

      

enter image description here

I can successfully compile the project in XCode and the gradient appears on the physical iPhone, but it is not in the simulator.

Has anyone dealt with this issue before?

Again, the problem is that native-native (iOS Simulator) cannot find the library, but the BVLinearGradient library is present in Xcode and the project compiles successfully.

enter image description here

thank

+3


source to share





All Articles