-
Notifications
You must be signed in to change notification settings - Fork 324
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
Pose not working on in Android WebView using Chrome 62+ #291
Comments
Thanks for filing! For the record, many of the examples on aframe.io use older versions of aframe and the polyfill. |
@jsantell - tested this exhaustively and it appears to be an issue with the DeviceMotion API in Chrome 62+. We ran into this problem on a project, and have tested across a wide range of Chrome/Android System Webview versions. The A-Frame samples are just an easy way to visually reproduce the issue, although a simple Thanks |
Thanks for digging into this, @meatwallace -- definitely something we'll need to handle for the polyfill. I'll keep an eye on the Chromium issue. Thanks for putting this on the radar! |
No worries. Although the issue is with Chromium, if there's anything you think we should test to accelerate resolving the issue, would love to hear. The release of Chrome 62 happened the day before our scheduled product launch, so we're heavily invested in resolving or finding a workaround for the issue. We've tried:
One of our engineers is working on using a CrossWalk WebView. Seems like the easiest way to bundle a locked version of Chrome. As it's not maintained, this isn't a desirable solution. When complete, I'll share the results, although as it's using Chrome 53, I think we'll run into perf issues. Beyond that, we're investigating bundling Chrome itself with our app so that we can lock the version, but haven't found any clear strategy for doing so, and our skillset isn't suited for the task. If anyone has knowledge about bundling Chrome, or any alternative avenues to explore, please shout out! I don't know how widespread this use case is - I imagine it's niche, but if it's affecting anyone else, we would love to collaborate to resolve it. Sorry if I've gone too far out of scope of the polyfill. As we could be waiting for a patch in Chrome for a while, I figure this is a good place to discuss workarounds in the interim. Cheers |
I just verified the Chrome fix that was merged and released in the Canary build: https://bugs.chromium.org/p/chromium/issues/detail?id=779443 If you have an Android 8 device, you can preview the fixed version by downloading Chrome Canary from the play store, then changing your WebView implementation in developer settings. |
Looks like this is fixed in m63+, and with m62 out currently, not sure what a possible workaround is unfortunately 😕 let's leave this issue open if there are any immediate short term fixes we can do on our end |
Whilst not an optimal solution at all, we've bundled the last release of the Crosswalk WebView (uses Chrome 53) with our app and are conditionally using it if we detect Chrome / Android System WebView 62.x on the device. Minor performance regressions and it tacks ~40mb onto our bundle, but it works. |
Fixed in Chrome 63+, looking into solutions that can prevent this sort of breakage on Chrome's end; closing for now, thank you for reporting and following through on this issue @meatwallace! |
The text was updated successfully, but these errors were encountered: