We publish 3D models as AR from one link and one QR code. The same link has to work in Chrome on Android, Safari on iPhone, and in-app browsers. Notes from the last few weeks.
Android Chrome runs floor AR as a WebXR session with hit-test. Where WebXR is missing, model-viewer falls back to Scene Viewer.
Chrome 147 started exposing XRWebGLBinding.createProjectionLayer. three r183 draws to a projection layer whenever that method exists, and model-viewer 4.3.1 does not request the layers feature. On Galaxy phones we saw the camera feed and our DOM hotspots, but no model. We now remove createProjectionLayer on Android before the session starts, so three uses XRWebGLLayer. Quest keeps it. (three #33404, crbug 507508099)
iPhone has no WebXR in Safari, so floor AR opens in Quick Look with a USDZ. The page cannot show buttons during AR there, so hotspot text only appears in the 3D view before AR.
In-app browsers (Instagram, for example) often have no WebXR and limited storage. On iPhone we detect them and offer Safari. On Android we used to open Scene Viewer from there. Right now the Google app's Scene Viewer closes about 0.1 s after it opens, on any model and device (google-ar/arcore-android-sdk #1795, Google app 17.66 to 17.72). So for now the main button hands off to Chrome, which runs the WebXR path. We will switch back when Google ships a fix. The handoff link keeps the QR source.
Auto size: we bake a scale into the published GLB and USDZ roots so a model's longest side is capped at 40 cm, and anything under 5 cm becomes 10 cm, unless the author picks real size. All AR paths then agree on size.
We test the WebXR path with a fake XR device in Playwright that counts drawn pixels. It catches the projection layer case, but not the final compositing on a real phone.