Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requireNativeComponent: "BVLinearGradient" was not found in the UIManager when I use Expo #75

Open
sylainx opened this issue Feb 13, 2022 · 14 comments

Comments

@sylainx
Copy link

sylainx commented Feb 13, 2022

I've been trying to implement se Package in my Expo project for a few days. Without success. I keep getting the same error

`
"dependencies": {

"react-native-paper": "4.9.2",

"@expo/vector-icons": "^12.0.0",

"expo-constants": "~12.1.3",

"react-native-skeleton-placeholder": "*",

"@react-native-masked-view/masked-view": "0.2.5",

"react-native-linear-gradient": "2.5.6" 

}
`

@alexander01202
Copy link

No one solved this yet??

@Equilibris
Copy link

I'm also having this issue

@chramos
Copy link
Owner

chramos commented Apr 14, 2022

hey guys, this package is not compatible with expo yet

@mhr996
Copy link

mhr996 commented Apr 29, 2022

hey guys, this package is not compatible with expo yet

When will this be available for expo? please configure it asap

@SurendraVSS
Copy link

SurendraVSS commented Aug 17, 2022

Please solve the issue?

@Je4stine
Copy link

No yet solved?

@SurendraVSS
Copy link

SurendraVSS commented Aug 22, 2022 via email

@djw27
Copy link

djw27 commented Nov 11, 2022

See #65 (comment) for a potential workaround

@NabeelUppel
Copy link

I believe you have to use the dev-client.
https://docs.expo.dev/development/create-development-builds/

This creates a client that allows BVLinearGradient to be registered

@YasserShkeir
Copy link

Check the discussion for Expo Fix:

#114

@dariodaich
Copy link

dariodaich commented May 12, 2023

@YasserShkeir thanks for the effort on the fix, but reaching into a package and manually applying patches isn't the way to go.

If there are no plans to provide the fix, at least the documentation can mention it.

@Alireza17224
Copy link

Same issue here

@ujithdon
Copy link

I tried many things, but still, the issue is there. Agree with @chramos

@lada
Copy link

lada commented Oct 2, 2023

The fix by @YasserShkeir works for me with SDK 49 (make sure you have expo-linear-gradient installed).
You can then create a patch with patch-package. Not perfect, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests