question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] undefined is not an object (evaluating NativeModuels.UIManager.RCTVideo.Constants')

See original GitHub issue

Getting 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

2016-06-03 1 51 49

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:31 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
kevin-xiongcommented, Aug 23, 2016

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”

3reactions
mattappersoncommented, Aug 29, 2016

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found