Ask a Question

ViroVideo Viro360Video not working app crashes

App crashes with no error when using ViroVideo or Viro360Video. No solution found to handle it

placing image in AR based on geolocation

Hello, Is there a way to place an image in an specific location using coordinates?

Cannot using assets in viro starter-kit project

Encountering an issue, whenever I attempt to utilize assets in the Viro project's starter kit, leads to the application crashing. This occurs while running the app on my Android device. Is there a solution to resolve this problem?

Error while initializing the ViroARScene

ERROR TypeError: Cannot read property 'setJSMaterials' of null, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if: - Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. - A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

Unble to detect vertical ARPlane

I have tried below code, it is working fine for Horizontal, but not working for Vertical Plane: ``` <ViroARScene onTrackingUpdated={onInitialized} anchorDetectionTypes={['PlanesHorizontal', 'PlanesVertical']}> <ViroAmbientLight color={"#aaaaaa"} /> <ViroARPlaneSelector minHeight={0.1} minWidth={0.1} alignment="Vertical" onPlaneSelected={this._onPlaneSelected}> <ViroNode position={[0, -.5, 0]} dragType="FixedToWorld" onDrag={() => { }} > {/* Spotlight to cast light on the object and a shadow on the surface, see the Viro documentation for more info on lights & shadows */} <ViroSpotLight innerAngle={5} outerAngle={45} direction={[0, -1, -.2]} position={[0, 3, 0]} color="#ffffff" castsShadow={true} influenceBitMask={2} shadowMapSize={2048} shadowNearZ={2} shadowFarZ={5} shadowOpacity={.7} /> <Viro3DObject source={require('./emoji_smile.vrx')} position={[0, .1, 0]} scale={[.2, .2, .2]} type="VRX" lightReceivingBitMask={3} shadowCastingBitMask={2} transformBehaviors={['billboardY']} resources={[require('./emoji_smile_diffuse.png'), require('./emoji_smile_specular.png'), require('./emoji_smile_normal.png')]} /> <ViroQuad rotation={[-90, 0, 0]} width={.5} height={.5} arShadowReceiver={true} lightReceivingBitMask={2} /> </ViroNode> </ViroARPlaneSelector> </ViroARScene> ``` Can anyone provide solution for this?

onExit viro

onExitViro not working and app crash when press icon on video

ViroVRSceneNavigator is not working

It's just showing a blank white screen. Even I'm using a very simple code. ViroVRSceneNavigator > ViroScene > Viro360Image As I researched, VR is disabled on React-Viro 2.23.0. Is it true?

Chinese garbled

The Chinese display is abnormal and garbled. What should I do?

I can't run my project

<https://github.com/ViroCommunity/starter-kit#:~:text=git%20clone%20https%3A//github.com/ViroCommunity/starter%2Dkit.git> I started by following this guide step by step, but every time I try to run my project on my Android device, it generates an error and I don't know how to resolve it, can you help me? The error is: ``` Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at stableHash (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\metro-cache\src\stableHash.js:19:8) at Object.getCacheKey (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\metro-transform-worker\src\index.js:593:7) at getTransformCacheKey (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\metro\src\DeltaBundler\getTransformCacheKey.js:24:19) at new Transformer (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\metro\src\DeltaBundler\Transformer.js:48:9) at C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\metro\src\Bundler.js:22:29 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } ``` and this: ``` ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 at makeError (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\execa\index.js:174:9) at C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\execa\index.js:278:16 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async runOnAllDevices (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5) at async Command.handleAction (C:\Users\coses\Desktop\samu\ReactNative\prova\node_modules\@react-native-community\cli\build\index.js:192:9) info Run CLI with --verbose flag for more details. error Command failed with exit code 1. ```

Can I update a text value of ViroText?

Hi! thanks for your wonderful library! ```Text javascr const { text, handleText } = props; <ViroText text={text} /> ``` I can update a styles of ViroText but text attribute can not be changed. can I update this?