google-ar / WebARonARCore

An experimental Chromium modification in the form of an app for Android that lets developers build Augmented Reality (AR) experiences using web technologies on top of Google's ARCore.
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
757 stars 115 forks source link

Detect blur event or when user returns to home screen? #46

Closed andrelevi closed 6 years ago

andrelevi commented 6 years ago

Right now my app uses a websocket connection. I'd like to break it when the user minimizes the app and returns to the home screen. The blur event is not fired when this happens, but it is fired on Mozilla's webxr viewer. Is there a way I can detect when the user has minimzed the app? Thanks!

jsantell commented 6 years ago

Thanks for filing! We'll get back to you with some more info after the holidays

judax commented 6 years ago

We are working on a major reimplementation of this prototype browser. This new implementation will resolve many issues listed including this one. Please, stay tuned. Cannot provide an estimate on when it will be ready though, sorry.