react-native-skeleton-placeholder icon indicating copy to clipboard operation
react-native-skeleton-placeholder copied to clipboard

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

Open sylainx opened this issue 3 years ago • 14 comments

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" 

} `

sylainx avatar Feb 13 '22 00:02 sylainx

No one solved this yet??

alexander01202 avatar Mar 29 '22 22:03 alexander01202

I'm also having this issue

Equilibris avatar Apr 12 '22 10:04 Equilibris

hey guys, this package is not compatible with expo yet

chramos avatar Apr 14 '22 12:04 chramos

hey guys, this package is not compatible with expo yet

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

mhr996 avatar Apr 29 '22 21:04 mhr996

Please solve the issue?

SurendraVSS avatar Aug 17 '22 06:08 SurendraVSS

No yet solved?

Je4stine avatar Aug 21 '22 11:08 Je4stine

Yes, you need to go for an alternative package bcoz it does not work with expo or you can use react cli. This package works good with react cli.

On Sun, Aug 21, 2022 at 5:17 PM Jeff Austine @.***> wrote:

No yet solved?

— Reply to this email directly, view it on GitHub https://github.com/chramos/react-native-skeleton-placeholder/issues/75#issuecomment-1221529660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZP7H6EM3O4RQOAGBEFDHDLV2IJOPANCNFSM5OHY3F5Q . You are receiving this because you commented.Message ID: @.*** com>

SurendraVSS avatar Aug 22 '22 04:08 SurendraVSS

See https://github.com/chramos/react-native-skeleton-placeholder/issues/65#issuecomment-1311809097 for a potential workaround

djw27 avatar Nov 11 '22 15:11 djw27

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

NabeelUppel avatar Mar 25 '23 14:03 NabeelUppel

Check the discussion for Expo Fix:

https://github.com/chramos/react-native-skeleton-placeholder/discussions/114

YasserShkeir avatar Apr 14 '23 04:04 YasserShkeir

@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.

dai-ichy avatar May 12 '23 21:05 dai-ichy

Same issue here

Alireza17224 avatar Aug 30 '23 11:08 Alireza17224

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

ujithdon avatar Sep 21 '23 06:09 ujithdon

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.

lada avatar Oct 02 '23 21:10 lada