Polyfill providing backward compatibility in between the newest WebXR API and the WebXR API currently implemented in Helio (Lumin 0.96.0 & Lumin 0.97.0)
If you use npm, run npm i magicleap-helio-webxr-polyfill
.
Then add it at the top of your file using import:
import 'magicleap-helio-webxr-polyfill';
or using script tag:
<script src="https://unpkg.com/magicleap-helio-webxr-polyfill@latest/HelioWebXRPolyfill"></script>
More information and guides are available on Magic Leap's Creator Portal.
To get started, checkout the WebXR Hello WebXR code here. To try it out on device go here