-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support WebXR Navigation permission #4445
Comments
wow! good catch! I would’ve never expected to see navigation implemented so quickly. Oculus browser folks are doing an amazing job shipping experimental features. hat off 🎩 to @Artyom17 and any other Oculus friends involved. |
Yes, we have it experimentally implemented. Note, that the "Default" setting allows only certain well-known domains, so, most likely you need to switch to Enabled state to make it work for all domains. |
@Artyom17 I was testing the
and I was expecting the event to fire:
Full working example: https://nova-childlike-leaf.glitch.me/ Am I missing anything? Thanks |
You need to call requestSession in the listener of sessiongranted.
An example code: https://github.com/Artyom17/webxr-samples/blob/gh-pages/tests/navigation.html Working sample: https://artyom17.github.io/webxr-samples/tests/navigation.html |
Actually, found a bug in my code that didn't allow to enable the XR navigation for any site. The fix is in the queue, the workaround is to switch the browser to single process mode via 'adb shell setprop debug.oculus.browser.singleproc 1' followed by 'adb shell am force-stop com.oculus.browser' commands. Note, the prop is not persistent and will be reset after reboot. |
BTW, it was fixed a long time ago. |
Awesome thanks. I’ll try later |
@dmarcos is there anything needed to change in aframe? |
in new OculusBrowser there is navigation support for webxr
related https://github.com/immersive-web/navigation
The text was updated successfully, but these errors were encountered: