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'
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.
thank
+3
source to share
No one has answered this question yet
Check out similar questions: