The native view manager required by name (ExpoLinearGradient) from NativeViewManagerAdapter isn't exported by expo-modules-core. Views of this type may not render correctly. Exported view managers: []. How to solve this

Please provide the following:

  1. SDK Version: 46.0.9
  2. Platforms(Android/iOS/web/all): Android device version 12
  3. “expo-linear-gradient”: “~11.4.0”,

I try this

import { LinearGradient } from “expo-linear-gradient”;

<LinearGradient
style={StyleSheet.absoluteFill}
start={[0, 0.3]}
end={[0, 1]}
colors={[“transparent”, “rgba(0, 0, 0, 0.2)”, “black”]}
/>