-
Notifications
You must be signed in to change notification settings - Fork 178
IOS App crashes when passing position as props to any Viro component #306
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
Comments
Downgrade to react-native 0.73 or the appropriate version of Expo (I think 50). The module needs to be updated for the latest version of react-native. There is no workaround yet. |
Let me downgrade Expo first and see if that works. Thank you very much ! @rozekfr |
By way of an update, I downgraded the versions and it worked. Thank you @rozekfr |
Downgrading is not a possible solution for several reasons.
We need an update on this. As mentioned above, apps may be rejected because of this issue and this possible solution. |
Yep, 100%. The authors of this library need to address this issue. Downgrading RN can't be seen as a solution. |
This should now be resolved in version Full release notes: https://viro-community.readme.io/changelog/viroreact-2430-whats-new |
Requirements:
Please go through this checklist before opening a new issue
Environment
Description
I'm using
ViroARSceneNavigator
to render a scene that displays aViroText
component. However, the app crashes when I pass a position prop toViroText
. If I remove theposition
prop, the app does not crash. I'm running the app on my phone usingexpo run:ios --device
command (Expo SDK 51.0.28).Things I've tried:
Used a different Viro component, but encountered the same issue.
Passed various random
Viro3DPoint
values to the position prop, but the issue persists.I've attached a video where you can see the app crashes when I uncomment position={[0, 0, -1]}.
While I have 8 years of experience as a web developer, I'm fairly new to mobile app development. Any help would be greatly appreciated. Thank you!
Reproducible Demo
RecordIt-1725800142.MP4
The text was updated successfully, but these errors were encountered: