Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: requireNativeComponent: "RCTVideo" was not found in the UIManager #3534

Closed
genesy opened this issue Feb 14, 2024 · 9 comments
Closed
Labels
bug demo requested Please submit a simple app that shows the issue

Comments

@genesy
Copy link

genesy commented Feb 14, 2024

Version

v6 (Beta)

What platforms are you having the problem on?

No response

Architecture

Old architecture

What happened?

I get this when trying to mount a video component.

I followed the instructions on ios installation on the documentation. Build succeeds and I see it installs the module in the podfile.

react-native 0.69.7 not using new architecture.

I also had issues with use_frameworks! :linkage => :static with some modules so i had to exempt them.

  pre_install do |installer|
    # Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
    installer.pod_targets.each do |pod|
      if pod.name.eql?('vision-camera-code-scanner') || pod.name.eql?('VisionCamera') || pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end

Reproduction

Step to reproduce this bug are:

@genesy genesy added the bug label Feb 14, 2024
@freeboub
Copy link
Collaborator

are you able to reproduce the issue on a sample ?
I don't see any issue with this informations

@freeboub freeboub added the demo requested Please submit a simple app that shows the issue label Feb 25, 2024
@KrzysztofMoch
Copy link
Member

KrzysztofMoch commented Feb 26, 2024

I also had issues with use_frameworks! :linkage => :static with some modules so i had to exempt them.

@genesy seems like we need to update docs 😅
use_frameworks! :linkage => :static is not needed any more (in v6), so you can remove it, if it makes issue

Also I created clean [email protected] app and it's working fine

@genesy
Copy link
Author

genesy commented Feb 26, 2024

I got it working by also adding use_modular_headers! but i'll have to give it another try without the use_frameworks line

@genesy genesy closed this as completed Feb 26, 2024
@farzeen00
Copy link

Hey everyone I am facing same issue for ios, firebase suggest to have this line use_frameworks! :linkage => :static, i don't know how to figure it out, @genesy @freeboub @KrzysztofMoch could you help me out please on this

@braincore
Copy link

I'm also having this issue starting with v6 rc.0 including the most recent rc.2. It does not happen with beta.8. @genesy Can you clarify how you added use_modular_headers!?

@braincore
Copy link

Nevermind, this was resolved in #3737 with the solution being to bump the min ios version to 13.

@abdulmateentechbits
Copy link

Android +1

@anasvemmully
Copy link

Android +1 for v6.4.2

@ArronJLinton
Copy link

ArronJLinton commented Sep 29, 2024

Try downgrading to react-native-video: ^5.2.1.

Worked for me and I'm on react-native: 0.74.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug demo requested Please submit a simple app that shows the issue
Projects
None yet
Development

No branches or pull requests

9 participants