Wednesday, February 13, 2019

How to resolve "requireNativeComponent: "BVLinearGradient" was not found in the UIManager" error message in React Native project?

Software Required
-NPM version 6.4.1
-expo version 2.6.14
-Atom 1.34.0

Problems
  • During my development, encounter error as shown below when try to test it on Expo client.
Invariant Violation: requireNativeComponent: "BVLinearGradient" was not found in the UIManager.

Steps
  • Import "LinearGradient" class from expo. It will work like a charm.
  •  import { LinearGradient } from 'expo';

    No comments: