Skip to content
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

ARButton only working in Safari on iOS #71

Open
sir-oliver opened this issue Oct 17, 2023 · 2 comments
Open

ARButton only working in Safari on iOS #71

sir-oliver opened this issue Oct 17, 2023 · 2 comments

Comments

@sir-oliver
Copy link

sir-oliver commented Oct 17, 2023

Description

When clicking the ARButton on your iOS device using an alternative browser like Chrome, you get the message that AR is not supported, when in fact AR works fine if you place a direct link to an .usdz file. Is the detection of AR capability in isAvailable.ts not working correctly?

Steps to check or reproduce

Open the projects webpage https://woodneck.github.io/egjs-view3d/docs/ar on your iOS device with an alternative bowser (e.g. Chrome) and try the alarm clock demo at the end of the page. The ARButton outputs the message "AR is not supported in this browser"

@SMESH-admin
Copy link

Having the same problem!

@Rahulk644
Copy link

WebXR is not supported on Safari as of now. So any WebXR session will not be supported. Placing a direct link to the usdsz file opens the file directly in AR on iOS devices (try clicking on local usdz files, the case would be same).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants