Last week Google released a beta of Chrome 81 for Android, Chrome OS, Linux, macOS, and Windows, which means a stable version is just around the corner. One of the most important updates to arrive in Chrome 81 is the ability to use web-based AR apps.
Google first included WebVR, the VR-focused predecessor to the WebXR API, in Chrome 66 back in April 2018. Debuted in Chrome 79 at the end of 2019, WebXR Device API came to devices without AR support.
Now, the stable version of Chrome 81 is expected to release sometime next month, which will carry with it the ability to display web-based AR content.
According to Google’s Chromium blog, the upcoming stable version of Chrome will also include support for the WebXR Hit Test API, an API for placing digital objects in a physical world view. Google says the new API captures both the location of a ‘hit test’, or where the user taps on the screen, and the orientation of the point that was detected.
Appealing to developers, Google says that if you’ve already used the new API to create virtual reality apps, there’s very little new to learn to use AR.
“This is because the spec was designed with the spectrum of immersive experiences in mind. Regardless of the degree of augmentation or virtualization, the application flow is the same. The differences are merely a matter of setting and requesting different properties during object creation, ” the company says.
Chrome 81 is also slated to include web-based NFC (Near Field Communications), which allows a web app to read and write to NFC tags.