Skip to content

v2.57.3

Choose a tag to compare

@doranteseduardo doranteseduardo released this 08 Jul 01:45
· 38 commits to main since this release
cef873c

v2.57.3

Highlights

  • Expo SDK 57 / React Native 0.86 support (viro#492). Widened peerDependencies (expo <58.0.0, react-native <0.87.0) and the build toolchain. RN 0.86 ships no breaking changes, so no native changes were required.
  • frontCameraEnabled (iOS) moved to the optional @reactvision/react-viro-face-tracking package — fixes App Store review 2.5.1. ARKit's front camera uses the TrueDepth API, which Apple statically scans for, so bundling it in core flagged every app — even rear-camera-only ones. Keeping it out of core lets those apps pass review with no configuration. Install the package (and its config plugin) only if you need front-camera AR. Android is unchanged. For a selfie feed without face tracking, use ViroCameraTexture with cameraPosition="front" (AVFoundation, no TrueDepth).
  • Android launch crash fixed (viro#491). Removed the prebuilt libvrapi.so, which was force-loaded on every launch and crashed all apps.
  • ViroVideo lifecycle crash & freeze fixed (viro#478). Two Android fixes: the app no longer crashes on background/foreground transitions with a ViroVideo in the scene (post-teardown ExoPlayer callbacks reaching freed native memory are now guarded), and the app no longer freezes/ANRs when leaving a ViroVideo screen (a per-frame GL-thread query into ExoPlayer that deadlocked against view teardown is now served from a main-thread-refreshed cache — this also smooths playback).
  • ViroARImageMarker crash fixed. Registering a tracking target after the marker mounts no longer throws under the New Architecture; the marker attaches regardless of order.
  • LiDAR depth confidence fixed (iOS). depthConfidence in AR hit-test results now returns a real ARKit confidence (0–1) instead of the raw depth value, so the confidence gate correctly discards low-quality depth hits.
  • Deprecated the Oculus Mobile SDK (VrApi) path. ViroPlatform.OVR_MOBILE / ViroViewOVR are superseded by the OpenXR path (ViroPlatform.QUEST / ViroViewOpenXR), covering all current Meta headsets.

Migration

  • frontCameraEnabled on iOS: install @reactvision/react-viro-face-tracking and add its config plugin, or the prop is a no-op after upgrading. No change on Android or if you don't use it.
  • VrApi: switch ViroPlatform.OVR_MOBILEViroPlatform.QUEST. GearVR / Oculus Go are no longer supported.
  • No change for AR, GVR (Cardboard), or existing Quest (OpenXR) apps.

Notes

  • Pairs with @reactvision/virocore 2.57.3.