Aframe: webVR doesn't work.

Created on 15 Jul 2019  路  3Comments  路  Source: aframevr/aframe

Description:

  • A-Frame Version: 0.9.2
  • Platform / Device: iPhone X, iOS 12.3.1
  • Reproducible Code Snippet or URL:

1.
I tested samples of A-Frame.
Here is a video with iPhone X on A-Frame samples.
20190715_112615

And error messages in the console.
image

2.
I also tested on webVRPollyfill demo
20190715_113351
It has no error message.

3.
I tested various version of A-Frame on glitch sample.
Sadly, it doesnt work in 0.9.2, 0.9.0, 0.8.2 and 0.8.0.

not only iPhone X, but other devices also don't work.
Only Pixel2 works well.

Most helpful comment

Unfortunately, Chrome and Safari now ship with devicemotion events disabled by default. The user has to enable manually on settings:

  • chrome://flags/#enable-generic-sensor in Chrome
  • Settings -> Safari -> Motion & Orientation Access in Safari iOS

Content also must be served over https

Additional discussion https://github.com/aframevr/aframe/issues/3976

All 3 comments

Unfortunately, Chrome and Safari now ship with devicemotion events disabled by default. The user has to enable manually on settings:

  • chrome://flags/#enable-generic-sensor in Chrome
  • Settings -> Safari -> Motion & Orientation Access in Safari iOS

Content also must be served over https

Additional discussion https://github.com/aframevr/aframe/issues/3976

There is no longer a "Motion & Orientation Access in Safari iOS" option any more in iOS 13 Beta 3

https://imgur.com/0QZ4ORB

As described in the referenced issue:

iOS 13 has a requestPermission API

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcarpenter picture jcarpenter  路  4Comments

jonikorpi picture jonikorpi  路  4Comments

FranciscoPinho picture FranciscoPinho  路  3Comments

wlhm1984 picture wlhm1984  路  5Comments

AdrienPoupa picture AdrienPoupa  路  6Comments