Closed inmess closed 1 year ago
This issue is solved. if a newer version of React Native is used in your project and met this problem, you probably need to firstly prebuild the project to get /ios and /android directories in your project. In this situation, I suppose npx expo run:[ios|android]
is needed, cuz I never succeeded with yarn start
.
react-native link ...
anymore, I just use cd ios & pod install
and all the thing went correctly.
Error: Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager.
The code is a simple react native test project without any other module added.
This error occurred both on iOS and Android, with exact the same error message, which I suspect this error appear where react native calling native apis.
It is quite difficult for me to locate and solve the problem once the problem is associated with native code -- I don't really have any experience on native programming.