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
When AR Session fails to initialize, provide more feedback to web apps #47
Comments
Currently on ARSession failure we just show a popup with the error message, and when the user taps on "OK", the webview reloads. Do we have any proposal on the message to send to the polyfil when we get an error? Following the same pattern as other messages, we could add other one like: Thoughts? |
Two things:
|
Yes, that's possible. So we keep the same popup, but the OK button launches the empty page and shows the URL in the bar.
I think that depends on how the polyfill will handle the error information. Maybe Arturo can shed some light on this one? |
Ok, do the change for the ARSession Failure; would also like that to be the behavior for the out-of-memory error and similar things -- auto-reload seems like a bad idea, just causes loops. As for how the polyfill will handle it; I think if you're just calling an error method, we can route however we want. We just need to have the method there to receive. Could probably write the method first. Arturo is out for a few days. |
Here, we need to ensure more error/failure info is sent to javascript. over in the https://github.com/mozilla/webxr-polyfill we'll need to make sure to display it.
The text was updated successfully, but these errors were encountered: