Skip to content

Commit

Permalink
Merge branch 'next-36115/auto-imported-from-github' into 'trunk'
Browse files Browse the repository at this point in the history
NEXT-36115 - NEXT-00000: Fix AR on Meta Quest 3

See merge request shopware/6/product/platform!13832
  • Loading branch information
shyim committed May 13, 2024
2 parents 1ba30ae + b4b53d1 commit 349ddd5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions changelog/_unreleased/2024-04-05-fix-ar-on-quest-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Fix AR on Quest 3
issue: NEXT-00000
author: Alexander Menk
author_email: [email protected]
author_github: amenk
---

# Storefront

* Removed `dom-overlay` from required features to make AR work on Meta Quest 3 browser
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export default class WebXrView {
// request session
// eslint-disable-next-line @typescript-eslint/no-floating-promises
navigator.xr.requestSession( 'immersive-ar', {
requiredFeatures: ['local', 'hit-test', 'dom-overlay'],
optionalFeatures: ['light-estimation', 'local-floor'],
requiredFeatures: ['local', 'hit-test'],
optionalFeatures: ['light-estimation', 'local-floor', 'dom-overlay'],
domOverlay: { root: this.overlay.element },
} ).then( this.onSessionStarted.bind(this) );
}
Expand Down

0 comments on commit 349ddd5

Please sign in to comment.