After enabling WebXR following instructions from https://developer.apple.com/forums/thread/732629, I can successfully run WebXR, but it is limited to VR. I cannot get AR running.
If I try await navigator.xr.isSessionSupported("immersive-ar")
, the result is false. But if I try await navigator.xr.isSessionSupported("immersive-vr")
, the result is true.
I double checked that I specifically checked the box "WebXR Augmented Reality Module" in the Safari feature flags. Any idea how to enable WebXR AR mode? Thanks in advance!