Project

Compatibility

What the code requires, and the devices and browsers it has actually been run on.

The tables below separate code-level requirements (verified by reading the source) from tested support (real device runs, recorded in Devices). Do not read a requirement as a support promise: a feature is only "tested" once it has been run on a recorded device.

WebXR runtime (browser)

RequirementSourceTested
Secure context (HTTPS or localhost)WebXR platform rule; checkSupport() reports it with a distinct INSECURE_CONTEXT code—
immersive-ar session supportnavigator.xr.requestSession('immersive-ar', …)Chrome 157 · Android 12 ✓
hit-test featureRequired feature at session creationChrome 157 · Android 12 ✓
local-floor featureRequested first at session creation; falls back to local, then viewer when unavailable—
plane-detectionOptional feature; dots/meshes appear when grantedChrome 157 · Android 12 ✓
light-estimationOptional; requested when light estimation is on—
camera-accessOptional; requested only when the session starts with enableScreenshots: true (for screenshots, not implied by light estimation)See the device notes
dom-overlayOptional; requested when an overlay element is providedChrome 157 · Android 12 ✓

The documented test path is Chrome on an ARCore-capable Android phone (see Phone testing). Chrome versions tested so far: 157.0.8103.78 on Android 12. No minimum Chrome version is established: only versions actually run are listed.

iOS Safari does not expose the immersive-ar WebXR flow. The browser runtime is not an iOS path — iOS is served by the native runtime below (Capacitor apps only, since 1.2.0).

Native Android runtime (Capacitor)

ItemValueNotes
Minimum Android SDK24minSdk default in android/build.gradle (overridable by the host project)
Compile / target SDK36 / 36Defaults, overridable
ARCore librarycom.google.ar:core 1.40.0Device must be ARCore-capable with Google Play Services for AR
Filament1.52.0Camera-background rendering
Java21Source/target compatibility

The native Capacitor runtime has not been device-tested yet. The WebXR runtime has, see Devices.

Note

The library's Android manifest declares the AR feature (and the plain camera feature) as required="false", which merges into your app: host apps stay installable on non-AR devices. Making AR required is an opt-in from your own manifest, see the installation guide.

Native iOS runtime (Capacitor, since 1.2.0)

ItemValueNotes
Minimum iOS15.0Package.swift platforms + podspec deployment_target
AR frameworkARKitARWorldTrackingConfiguration (world tracking, horizontal + vertical planes)
RenderingRealityKitNative model rendering — iOS has no WebXR, so the iOS plugin renders for real (unlike Android native)
DeviceARKit-capable iPhone/iPadA9+ class hardware; a real device is required — the iOS Simulator has no ARKit world tracking
DistributionSwift Package Manager + CocoaPodsPackage.swift (cap-swift-pm, Capacitor 8) and Reticlexr.podspec ship in the package; cap sync discovers the plugin from the capacitor.ios metadata key
Host requirementNSCameraUsageDescription in the app's Info.plistWithout it the app cannot get camera access and startSession rejects with CAMERA_PERMISSION_DENIED
ModelsUSDZARKit/RealityKit cannot load GLB: pass usdzPath/usdzUrl, or ship a .usdz sibling next to each GLB
PresentationFullscreen, or overlay (1.3.0)startSession({ overlay: true }) puts the AR view below a transparent web view so the app's own UI renders over the camera feed; taps are then JS-driven (see API docs)

The iOS runtime has not been device-tested yet: it was written and package-verified on a Linux machine with no Swift compiler, so no iPhone run is recorded in the Devices table. Treat the rows above as code-level requirements, not tested support — the same distinction this page draws everywhere else.

Frameworks and tooling

ItemRequirementNotes
React>=16.8.0 (peer)Only the hook needs it (import it from reticlexr/react). The root entry still re-exports it as a deprecated alias, so root imports still pull React in 1.x
@capacitor/core^8.5.2 (peer)Provided by the host Capacitor app
three^0.180.0 (peer)Provided by the host app, one shared copy; duplicates break GLTF class identity
Module formatESM (type: module) with an exports mapSubpaths: ., ./react, ./web, ./ar-view, ./gestures, ./package.json
TypeScriptHand-written declarations ship (src/*.d.ts)JSDoc in the implementation is type-checked by npm run check-types (tsc --checkJs)

Devices

DeviceOSBrowserDateResult
Redmi Note 9SAndroid 12Chrome 157.0.8103.782026-11-17WebXR demo run, see notes below
Samsung Galaxy A24 (SM-A245F)Android 16Chrome 157.0.8103.502026-11-17WebXR demo run, tap-to-place confirmed

Follow-up the same day: when the demo moved to tap-only placement, tap-to-place failed on the Redmi: the per-tap hit test gave up on its first (still empty) results frame, so taps missed silently. Fixed in the library (the point hit test now tolerates a short grace of empty frames and falls back to the reticle hit, and a missed tap now surfaces an on-screen hint), and confirmed working on both devices above.

Notes from the Redmi Note 9S run (the library's first recorded device test, against the live demo):

  • Session start, surface detection, tap-to-place and in-place model switching all worked; switching was smooth.
  • Pinch-to-scale and twist-to-rotate worked but were jittery and hard to control. Root causes found in the gesture pipeline the same day, no touch-action: none on the overlay, unsmoothed digitizer samples, and transform state committed only after an async engine call, and fixed in the library source. A confirming re-test is pending.
  • Screenshots failed with CAMERA_CAPTURE_UNAVAILABLE: the demo did not start its session with enableScreenshots: true, so camera access was never requested (WebXR can only grant it at session start). The demo now opts in; a confirming re-test is pending.

If you run the demo on your phone, reporting the device model, Android version and Chrome version (in a GitHub issue) directly extends this table.