[iOS] undefined is not an object (evaluating NativeModuels.UIManager.RCTVideo.Constants')
See original GitHub issueGetting this error when I navigate to a scene containing the Video component under ios.
However, this only happens when I started the simulator with react-native run-ios
. If I run with Xcode, everything works fine.
react native version: react-native@0.25.1
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:31 (2 by maintainers)
Top Results From Across the Web
undefined is not an object (evaluating _reactNative ... - GitHub
I tried everything to solve this problem and still getting error (for a few days already): import Video from 'react-native-video'; my pack.
Read more >react-native-video [android] undefined is not ... - Stack Overflow
Fixed adding the ReactVideoPackage when creating the ReactInstanceManager mReactInstanceManager = ReactInstanceManager.builder() .
Read more >undefined is not an object (evaluating 'NativeModules ...
Coding example for the question undefined is not an object (evaluating 'NativeModules.UIManager.RCTVideo.Constants')
Read more >Undefined Is Not An Objectevaluating Imagepickermanager - ADocLib
Undefined Is Not An Object Evaluating Nativemoduels Uimanager Rctvideo Constants ... Currently building React Native 0.66 mobile using Mac npm 6.14.13 Xcode ......
Read more >undefined is not an object (evaluating 'NativeModules ...
... i tried with the below link but it throws error "undefined is not an object (evaluating 'NativeModules.UIManager.RCTVideo.Constants')
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can do it yourself 1.in the project navigator, right click Libraries, add RCTVideo.xcodeproj to your project 2.select your project,select Build Phases -> Link Binary With Libraries,add libRCTVideo.a 3. re-launching “react-native run-ios”
@nikhildaga sorry, others had commented that running ‘rnpm link react-native-video’ fixed the issue (or otherwise linking manually. Have you done this and are still having issues?