-
Notifications
You must be signed in to change notification settings - Fork 154
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
Expo bare + viroReact getting this error on ios -> requireNativeComponent: "VRTText" was not found in the UIManager. #52
Comments
I'm experiencing the exact same error as @byyoungjin, but with an app that was bootstrapped with |
Facing same error on bare work flow. Android is working alright but iOS is showing the UIManager error. |
I have this problem too, but in my case the UIManager error reports 'VRTARScene' as not found. The problem is only for iOS, Android is working well; I have followed all setup points. React native: 0.65.1 |
I've got it working.
For simulator you'll get error related to ARWorldTrackingConfiguration which means project is configured correctly with Viro and you can test on real device. Please let me know if it works or not. |
Thanks @Hunnainwali, I hope this will help us. But now we need to find the reason things got broken in v2.21.0. |
Question, is you use the stardard lib instead the static_lib, does it work well or it seems to be broken too? |
Yes it is working! Thanks. And also work on version 2.21.0. This problem only happens on 2.21.1 as #53 says |
I think I'm using static_lib following this https://github.com/ViroCommunity/viro/blob/main/readmes/INSTALL_IOS.md |
Hey all a quick question. I cannot use the 2.21.1 because of this VRTEXT error. The fact is that this release fix virovideo which is needed for my application. Is this planned to fix the problem on the 2.21.1 release ? If not for now how can i fix by myself ? thanks |
Working on it |
Thanks guy |
I've been unable to build the static_lib, however the standard lib works well for me. |
I don't know this I try it tomorrow and post back the result. |
I try your option and it is not working. So i try this in the starter kit and it's not working also, always this UIManager error. What else to try to fix this ? this my pod file platform :ios, '11.0' target 'myviroapp' do use_react_native!( pod 'ViroReact', :path => '../node_modules/@viro-community/react-viro/ios/' target 'myviroappTests' do end post_install do |installer| |
Same issue on my side, I have tried using both static and standard lib but I'm receiving the same issue: "VRTVideoSurface was not found in the UIManager", please help me :( I can confirm that, as suggested by #56, using the library of version 2.21.0 (libViroReact.a) it works but the ViroVideo is not working ("setOnBufferEndViro" error). Is there a working workaround to solve this problem? Thanks in advance, |
Hi I got virovideo working in 2.22.1 but I have need to compile libviroreact by myself. I create an issue for this case. And doesn't know if it is useful.
|
Hi thank you for your quick reply! Could you suggest me all the required steps to compile libviroreact on my own? Thank you again, |
I can send a link to download the dist folder tomorrow if you want |
Thank you very much for your support, fortunately I was able to compile the libviroreact, now it seems to be working; using ViroVideo I have noticed a strange thing, when I dismiss the scene the sound does not stop, I partially solved the issue putting a reference and stopping the audio (this.refs[VIDEO_REF].paused = "true") but, closing and opening the scene many times, there are memory leaks and the app crashes, it happens to you? do you fixed this issue? Thank you again @Cchumi !!! Regards |
Hello, I have the same issue as you, and changing the line:
to
didn't work for me either. I need virovideo therefore I need the 2.21.1 version @Piquart @Cchumi Thank you very much |
Closed in favour of #56 |
Requirements:
Please go through this checklist before opening a new issue
Environment
Please provide the following information about your environment:
Description
I just trying to initialize my app with Expo bare work flow + @viro-community/react-viro
But keep getting these error
![](https://user-images.githubusercontent.com/44938459/133534359-3f7c98fe-cfef-4cef-b22f-6b4c89c51b7b.jpeg)
Reproducible Demo
you can reproduce this by following this
npm install --global expo-cli ( my expo-cli version is 4.11.0)
expo init -> select bare work flow
npm install
npm install --save @viro-community/react-viro
go ios/PodFile and add these lines as instructed on https://github.com/ViroCommunity/viro/blob/main/readmes/INSTALL_IOS.md
pod 'ViroReact', :path => '../node_modules/@viro-community/react-viro/ios/'
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib'
npx pod-install
put some viro react code on App.js
npx react-native run ios ( just to check the linking work well)
-> have error
Invariant Violation: requireNativeComponent: "VRTText" was not found in the UIManager.
run xcode, and excute with real device
->same error with 8
The text was updated successfully, but these errors were encountered: