Closed soadzoor closed 6 years ago
It's possible for a device to not have a match and attempts a default Android size, such that if everything else is correct, XRDevice/XRSession etc. should all work with webxr-samples. What doesn't work? Is an XRDevice not found? Do you have a test page? What happens when you load the webxr samples demos with the polyfill enabled?
You can also find how to calculate a DPDB entry here, which can be subsequently added to future builds
Hi, thanks for the quick response. I upgraded the three.js lib to the latest release, and it seems to have solved most of the issue. Still have some warning and errors in the console though:
Should I be worried about these?
If you add your device to https://github.com/immersive-web/webvr-polyfill-dpdb, then the distortion will be more accurate when used in a Cardboard device, but shouldn't affect magic window uses, and the distortion may be fine enough with default values
I see, thanks!
Hi,
I'm trying to get this polyfill work with my OnePlus 3 (Android 8.0) device. Unfortunately, I get the
No DPDB device match
warning, and it doesn't work. If I switch the WebXR flag to enabled in chrome, then my app works, so I guess it should work with the flag disabled with this polyfill. So, what should I do?Thanks