codelab-webxr icon indicating copy to clipboard operation
codelab-webxr copied to clipboard

"Unsupported Browser" message on Canary 72, Pixel XL, Android 9

Open nylki opened this issue 6 years ago • 11 comments

Hi, Although the phone I am using fullfills all requirements, I get the "unsupported Browser" screen when opening the test website. I have experimented with AR apps before (eg. three.ar.js via the older ARCore version), so it should in principle work.

  • Chrome Canary 72.0.3604.0
  • Android 9, Pixel XL, Build/PPR2.181005.003

nylki avatar Nov 08 '18 10:11 nylki

I'd check out the Chacmool demo to see if it works for you, there's a chance Canary's WebXR isn't currently working

jsantell avatar Nov 14 '18 03:11 jsantell

Hi jsantell I work for a university in an innovation lab. So we have been trialling a lot AR technologies. It has come to the Universities interest to research into web-AR Just referring to the question that was asked from the previous post. I have tested the chcmool demo. and works like a charm using chrome canary. However the git project ar-with-webxr-master. When I load this live to view through my device which supports ARcore. It still gives me Unsupported browser. I have tested this through your Try It link and strangely works there. What could I be doing wrong?

Thanks in advanced...

lookreelDev avatar Nov 20 '18 00:11 lookreelDev

@jsantell thank you for the Chacmool demo link. That one works indeed in the latest Chrome Canary. But running your own experiment from this repo apparently like @GeorgeDevDeakin also observed.

nylki avatar Nov 20 '18 10:11 nylki

The hosted codelab examples work for me on Chrome Canary 72.0.3616.0, Pixel 2, Android 8.1.0 -- are you saying it works there, hosted, but not when loaded via localhost?

jsantell avatar Nov 20 '18 17:11 jsantell

@jsantell I can't test the hosted version right now, but I can say for sure, that the localhost version was not working. (tested via chrome remote device dev tool and its port forwarding)

nylki avatar Nov 20 '18 17:11 nylki

WebXR requires a secure context, so localhost or HTTPS: check out #4 for details of local dev

jsantell avatar Nov 20 '18 20:11 jsantell

Hope this is not a silly question. Is there any way that we can by pass checks for secure content in the code to activate the AR through localhost? Do you know of any node live server's that can provide create the HTTPS and pass as secure? If I have understood this correctly

Thanks

lookreelDev avatar Nov 21 '18 04:11 lookreelDev

@jsantell I am well aware of that, since that was also the case for prior three.ar.js demos.

The WebXR test website was indeed opened on the Pixel smartphone on localhost.

The traffic was forwarded via USB (and via Desktop Chromes remote devices feature). That did work before (in WebARonARCore with three.ar.js experiments) but not in this particular case.

nylki avatar Nov 21 '18 08:11 nylki

Hi @jsantell , I have been trying the Chacmool and Try It link. It both doesn't work for me, but here's what I have about my phone and my workstation laptop: Samsung Galaxy S8: Android 9, Chrome 76.0.3793.0 Windows 10: Chrome 76.0.3793.0 I installed ARCore on my phone and enabled those Chrome 2 flags in both Chromes (laptop and phone). It still doesn't work for Chacmool and he Try It link. Do you know what's going on?

JeaNugroho avatar May 15 '19 21:05 JeaNugroho

The implementation of WebXR in this repo no longer is in sync with the latest spec changes, which I think will be in Chrome stable end of Summer for now

jsantell avatar May 17 '19 16:05 jsantell

WebXR requires a secure context, so localhost or HTTPS: check out #4 for details of local dev

this is the best answer.

m4ntr4r4m4 avatar Oct 11 '22 12:10 m4ntr4r4m4