-
Notifications
You must be signed in to change notification settings - Fork 169
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
App crashes when ViroImage tries to load an image. #257
Comments
@robertjcolley I was able to resolve this. I have to make a few change to viro package, will be submitting a pull request, please review & accept it. |
The issue arises because fresco was recently updated from 2.5.0 -> 3.1.3. I believe they have made some changes as there was a similar issue in expo that affected expo sdk 49 & 50. |
…raries & updated all fresco libraries to 3.1.3. Ran gradlew command in prepare_release.sh to generate fresh builds of viro_bridge-release.aar & react_viro-release.aar. These changes introduce a fix for bugs in the issue ReactVision#257. Locally compiled, linked with expo-starter-kit-typescript & tested the changes.
Thanks @Avtrkrb , @bobbyjcolley this has relation with #245 |
Viro app crashes when added ViroSound/ ViroVideo/ ViroSpacialSounf or anything related to audio and/or video, here is the code snippet I was testing:
There are no error logs |
@ThuggerHacks will try this & fix it in my linked pr if I can get to the bottom of the error. Thanks for this. |
Right, anything just update us |
i have the same issue, using expo "dependencies": { } when i tried this ARTrackingTargetsModule.createTargets Your app just crashed. See the error below. looks like a problem with old version of Fresco |
I have an open pr that resolves this. Waiting on the maintainers to review & approve. |
Description
App crashes with the following error when a ViroARScene is initialized with ViroImage. The function is being called properly as console prints debug statements & props being passed to the scene. App is built with expo & running in a custom dev client.
This is behaviour is observed irrespective of loading a local image or an image from a url.
Reproducible Demo
Fresh expo-create-app with just ViroARScene, ViroImage & ViroARSceneNavigator.
ViroARSceneNavigator is successfully able to call the ARScene function as both print debug & tracking initialization console logs.
When ViroARScene is being rendered, the app crashes. The remote image URL is valid since the image opens in browser.
Code:
Requirements:
Please go through this checklist before opening a new issue
Environment
@robertjcolley
The text was updated successfully, but these errors were encountered: