tree: 6daa751e680c631204577495b3da96b3a5e015b4 [path history] [tgz]
  1. README.md
  2. xr_integration_client_impl.cc
  3. xr_integration_client_impl.h
weblayer/browser/xr/README.md

WebXR

WebLayer supports WebAR (with no current plans to support VR).

Testing

Using a device that supports AR, build and run with

   $ autoninja -C out/Default run_weblayer_shell
   $ ./out/Default/run_weblayer_shell https://immersive-web.github.io/webxr-samples/immersive-ar-session.html

run_weblayer_shell_webview and run_weblayer_shell_trichrome should also work.

If Google Play Services for AR is installed, then the demo should work. If it is not installed or not up to date, then the demo will silently fail (the button will shake).

TODO

WebLayer should support an install flow for handling the case when Play Services for AR is not up to date.