chramos / react-native-skeleton-placeholder

SkeletonPlaceholder is a React Native library to easily create an amazing loading effect.
MIT License
682 stars 121 forks source link

requireNativeComponent: "RNCMasketView" was not found in the UI manager #121

Closed thidasapankaja closed 1 year ago

thidasapankaja commented 1 year ago

This is a very useful library.

However I'm facing an issue running the app on Android. iOS works fine without any issue but Android crashes with this error requireNativeComponent: "RNCMasketView" was not found in the UI manager.

How can I get this fixed ?

rpelorosso-sv commented 1 year ago

Did you find a solution to this?

thidasapankaja commented 1 year ago

@rpelorosso-sv We're using monorepo for the project. So, my issue was I wasn't importing the library in the projects package.json. Importing that there fixed it. And make sure you installed the dependencies mentioned