Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"ViewManagerAdapter_ExpoLinearGradient" was not found in the UIManager

I am using Expo 44. The project works fine for android. But for IOS, it gives a strange error:

Invariant Violation: requireNativeComponent: "ViewManagerAdapter_ExpoLinearGradient" was not found in the UIManager.

I have done "expo install expo-linear-gradient" & "yarn add expo-linear-gradient". Also added the pod:

pod 'ExpoLinearGradient', :path => '../node_modules/expo-linear-gradient/ios'

But none of it helps. Can someone please suggest a way out of this?

like image 974
jolly Avatar asked Oct 27 '25 10:10

jolly


1 Answers

hope you've resolve your reported error with expo-linear-gradient above?

If haven't, I downgraded the latest 11.0.3 package version to the 10.0.3 version - rebuild both ios, android and now error resolved.

for example in package.json file:

"expo-linear-gradient": "10.0.3",

npm expo-linear-gradient releases

like image 63
brifiction Avatar answered Oct 29 '25 02:10

brifiction



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!