react-native-video: [BUG]: requireNativeComponent: "RCTVideo" was not found in the UIManager
Version
6.4.2
What platforms are you having the problem on?
Android
System Version
13
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
I get this when trying to mount a video component.
I looked through all possible issues, but it all points to iOS. I thought this happens only on iOS, I wonder why in android, I got no idea
I am using
"react-native": "^0.72.4",
or β0.72.12β to be exact inside node_modules/
Reproduction
Run this repo https://github.com/anasvemmully/rnvtestv642
Reproduction
Run the repo, if patch not applied automatically, apply manually for RNV V6.4.2
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15
Wait for the merge before closing π
if anyone encountered similar problem in android, submit the solution, else I will submit an example
i can confirm the PR created fixes this issue.
"react-native-video": "github:freeboub/react-native-video#chore/fixAppBoot",changed my package.json like this and it works
+1
I was receiving this on android, and I managed to fix it for my instance of this problem. For reference, I am using react-native-tvos, as found in the Ignite TV sample repo, not βpureβ react-native.
The literal steps I performed were:
package.json, change"react-native": "npm:react-native-tvos@^0.74.2-0",to"react-native": "npm:react-native-tvos@^0.74.3-0",yarn installyarn startdo ayarn run androidIt might be that the last bullet is the trick.
yarn run androidseems to do a full-on recompile of everything, whereasyarn startjust bundles things up and serves, I am guessing.edit: after doing the last bullet, I can just go back to
yarn start, as the recompile seems to have solved things going forward.@freeboub the fix works +1. Thanks π