Comments (22)
I've got it working.
- uninstall viro using $npm uninstall @viro-community/react-viro
- install again using $npm install @viro-community/[email protected] --save (I'm using react-native version 0.64.2)
- run $npx react-native link
- run $cd ios
- run $pod deintegrate
- run $pod clean
- run $pod setup
- run $pod install
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.
from viro.
Working on it
from viro.
I'm experiencing the exact same error as @byyoungjin, but with an app that was bootstrapped with react-native-cli
. It would appear that something's not quite right with the iOS installation. I'm on react native 0.65.1.
from viro.
Facing same error on bare work flow. Android is working alright but iOS is showing the UIManager error.
from viro.
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
from viro.
I have this problem too, but in my case the UIManager error reports 'VRTARScene' as not found.
Tried in an existing project and in a new one, both created from react-native-cli.
The problem is only for iOS, Android is working well; I have followed all setup points.
React native: 0.65.1
Viro: 2.21.1 (tried also with 2.21.0)
XCode: 12.5 (tried also on XCode 13)
from viro.
from viro.
Thanks @Hunnainwali, I hope this will help us. But now we need to find the reason things got broken in v2.21.0.
from viro.
Question, is you use the stardard lib instead the static_lib, does it work well or it seems to be broken too?
from viro.
I've got it working.
- uninstall viro using $npm uninstall @viro-community/react-viro
- install again using $npm install @viro-community/[email protected] --save (I'm using react-native version 0.64.2)
- run $npx react-native link
- run $cd ios
- run $pod deintegrate
- run $pod clean
- run $pod setup
- run $pod install
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.
Yes it is working! Thanks. And also work on version 2.21.0. This problem only happens on 2.21.1 as #53 says
from viro.
Question, is you use the stardard lib instead the static_lib, does it work well or it seems to be broken too?
I think I'm using static_lib following this https://github.com/ViroCommunity/viro/blob/main/readmes/INSTALL_IOS.md
I haven't used standard lib. I Think.
from viro.
Working on it
Thanks guy
from viro.
I've been unable to build the static_lib, however the standard lib works well for me.
Can anyone confirm that changing the line:
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib'
to
pod 'ViroKit', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/'
works?
from viro.
I've been unable to build the static_lib, however the standard lib works well for me.
Can anyone confirm that changing the line:
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib'
to
pod 'ViroKit', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/'
works?
I don't know this I try it tomorrow and post back the result.
Thanks 👌
from viro.
I've been unable to build the static_lib, however the standard lib works well for me. Can anyone confirm that changing the line:
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib'
topod 'ViroKit', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/'
works?
I try your option and it is not working.
First i try in my app but getting also the VRTEXT error.
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
`require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
target 'myviroapp' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change false
to true
and then install pods
:hermes_enabled => false
)
pod 'ViroReact', :path => '../node_modules/@viro-community/react-viro/ios/'
pod 'ViroKit', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/'
target 'myviroappTests' do
inherit! :complete
end
post_install do |installer|
react_native_post_install(installer)
end
end
`
Thanks
from viro.
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,
from viro.
Hi I got virovideo working in 2.22.1 but I have need to compile libviroreact by myself.
As explanation if you look at node modules viro packages you will notice in the dist folder that every libviroreact.a size is 132ko that is not correct so I have compiled on my side and place them in this folder.
Result virovideo is working for me.
I create an issue for this case.
And doesn't know if it is useful.
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,
from viro.
Hi thank you for your quick reply!
Could you suggest me all the required steps to compile libviroreact on my own?
Thank you again,
from viro.
I can send a link to download the dist folder tomorrow if you want
from viro.
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
from viro.
Hello, I have the same issue as you, and changing the line:
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib'
to
pod 'ViroKit', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/'
didn't work for me either.
I need virovideo therefore I need the 2.21.1 version
@Piquart @Cchumi
Could you explain to me how to compile the libviroreact library on my own, or send me the dist folder ?
Thank you very much
from viro.
Closed in favour of #56
from viro.
Related Issues (20)
- Touch an element with viro react HOT 2
- build issue iOS, libViroReact.a[arm64][2](VRTPortalScene.o)) HOT 2
- Expo plugin is not working with monorepo HOT 1
- onTouch event is not working HOT 2
- TypeError: Cannot read property 'setJSMaterials' of null on Android using Expo HOT 5
- cant use startVideoRecording on Android 13 HOT 2
- Video doesn't stop on most of iPhone/iOS versions when AR scene is unmounted causing memory leaks HOT 1
- ViroVideo and ViroSound not working HOT 4
- how create a text input field inside viroVRSceneNavigator HOT 1
- viro react FrescoBackgroundExecutor-1 error on android for 360 image HOT 2
- Crash on Android due to fresco class not found HOT 7
- Android: crash when adding a camera to a 3D scene HOT 4
- How to blend color and texture for ViroMaterial? HOT 1
- Expo app crashes / shuts down when opening a ViroARScene with Viro3DObject (Expo SDK 51) HOT 9
- How to extract video stream?
- on iOS viroImage onClick don't use the viroscene top position but always the top of the screen.
- Support for Meta Quest 3
- Error while updating property 'height' in shadow node of type: VRTVideoSurface
- cant use startVideoRecording on Android 13 HOT 3
- Crash when using ViroARPlaneSelector in Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viro.