Node.js and webpack deployment of GeometryViewer with AR

I am able to reproduce the issue and have logged for investigation at `GeometryViewer` WebXR option does not appear on local deployment · Issue #2674 · Kitware/vtk-js · GitHub.

A workaround in the meantime is to use adb for wireless debugging at localhost:

  1. Make sure your Android device is in developer mode
  2. Connect your Android device to your PC
  3. Open a console on your PC and run adb devices and verify your device is present
  4. Run adb tcpip 5555 to listen for a connection on port 5555
  5. Disconnect your device from the PC
  6. Find the wireless IP address for your device under wi-fi settings
  7. On your PC run adb connect <your-device-ip> to connect to the device over wi-fi
  8. Run adb reverse tcp:9999 tcp:9999 to allow adb to route traffic between port 9999 on both the PC and mobile device
  9. Build and run GeometryViewer on your PC and visit the localhost example address on your mobile device. For the diskout.vtp example this URL is http://localhost:9999/?fileURL=https://data.kitware.com/api/v1/item/59de9de58d777f31ac641dc5/download .