Skip to content

Developer Info

Philip Lamb edited this page Aug 8, 2019 · 8 revisions

Developing for VR

Firefox Reality is an ideal platform for developing great WebXR experiences. You can find a variety of information on WebVR and WebXR development from developer portals including the Mozilla Developer Network

https://developer.mozilla.org/en-US/docs/Games/Techniques/3D_on_the_web/WebVR

Debugging

Debugging with Firefox Reality.

Crashes

Crashes in Firefox Reality

Loading developer versions

Sideloading

Launching URLs in Firefox Reality from your PC

From your PC’s command-line Terminal, enter this command to launch a URL, such as https://www.mozilla.org:

adb shell am start -a android.intent.action.VIEW \
    -n org.mozilla.vrbrowser/org.mozilla.vrbrowser.VRBrowserActivity \
    -d "https://www.mozilla.org"

Note: USB Remote Debugging is required. Ensure your Oculus Go is connected by a micro-USB cable to your PC’s USB port.

Logs

With USB Remote Debugging, from the Terminal you can use adb logcat to search for logs generated by Firefox Reality:

adb logcat | grep -i "gecko"

Note: USB Remote Debugging is required. Ensure your Oculus Go is connected by a micro-USB cable to your PC’s USB port.

This is especially useful for extracting stack traces and URLs for crash reports securely and anonymously submitted (if you grant Firefox Reality permission) to the crash-stats.mozilla.com service.

Clone this wiki locally