AR.js icon indicating copy to clipboard operation
AR.js copied to clipboard

White screen on multiple tabs opens with AR on Android mobile

Open batelhi opened this issue 2 years ago • 0 comments

Do you want to request a feature or report a bug? Report a bug

What is the current behavior? Opening Ar.js on multiple tabs on mobile browser - you get a white screen instead of a camera. I couldn't find any indicator or event to catch the error in order to let the user know what is the problem. (camera-error event isn't targeted in this case. I get normally camera-init)

If the current behavior is a bug, please provide the steps to reproduce. open any AR.js web page on mobile - it happend on the second or the third tab. It fixed when I refresh the page. (It happened on Android browsers: chrome and Samsung Internet)

I see the same behavior in published DEMOs. for example: https://stemkoski.github.io/AR-Examples/hello-cube.html

Please mention other relevant information such as the browser version, Operating System and Device Name Reproduce on Android mobile in several different versions. Didn't reproduce on iPhone using AR:

using Aframe:

What is the expected behavior? Opening camera every time user open my website. or at least i want to be able to let the user know that they should closed the open tabs. But I didn't get any error msg.

If this is a feature request, what is motivation or use case for changing the behavior?

batelhi avatar Mar 07 '23 10:03 batelhi