Skip to content

Commit 2b4dbab

Browse files
committed
Remvoe detection of FXR since its incorrectly detecting Firefox on
Android as a standalone HMD
1 parent cc86846 commit 2b4dbab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/vr-caps-detect.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ export async function getAvailableVREntryTypes() {
6363
: VR_DEVICE_AVAILABILITY.no;
6464

6565
const displays = isWebVRCapableBrowser ? await navigator.getVRDisplays() : [];
66-
const isFirefoxReality = window.orientation === 0 && "buildID" in navigator && displays.length > 0;
67-
const isInHMD = isOculusBrowser || isFirefoxReality;
66+
const isInHMD = isOculusBrowser;
6867

6968
const screen = isInHMD
7069
? VR_DEVICE_AVAILABILITY.no

0 commit comments

Comments
 (0)