Would you accept a pull request which alerts the user in js/util/webxr-button.js if their device is unsupported? Currently the button just shakes, and to see the error you need to plug your phone in and visit chrome://inspect (or equivalent) to see the error message. Would be handy to tell the user what's going on in a modal or alert.
Would you accept a pull request which
alert
s the user injs/util/webxr-button.js
if their device is unsupported? Currently the button just shakes, and to see the error you need to plug your phone in and visitchrome://inspect
(or equivalent) to see the error message. Would be handy to tell the user what's going on in a modal oralert
.https://github.com/immersive-web/webxr-samples/blob/master/js/util/webxr-button.js#L483