Web Capabilities Demos

The goal of the web capabilities project is to enable web apps to do anything native apps can, by exposing the capabilities of native platforms to the web platform, while maintaining user security, privacy, trust, and other core tenets of the web.

Badging API

The Badging API is a new web platform API that allows installed web apps to set an application-wide badge, shown in an operating-system-specific place associated with the application, such as the shelf or home screen. Badging makes it easy to subtly notify the user that there is some new activity that might require their attention, or it can be used to indicate a small amount of information, such as an unread count.

Contact Picker

The Contact Picker API is a new, on-demand picker that allows users to select an entry or entries from their contact list and share limited details of the selected contact(s) with a website. It allows users to share only what they want, when they want, and makes it easier for users to reach and connect with their friends and family.

Native File System APIs

The new Native File System API enables developers to build powerful web apps that interact with files on the users local device, like IDEs, photo and video editors, text editors, and more. After a user grants a web app access, this API allows web apps to read or save changes directly to files and folders on the users device.

Notification Triggers

Notification Triggers is an extension to the Notifications API that allows developers to schedule network-independent notifications that are based on a triggering condition being met ahead of time.

SMS Receiver API

With the SMS Receiver API, you can programmatically obtain an OTP from an SMS message and verify a phone number for the user more easily.

Web Share

The Web Share API, allows sites to share links and text to other apps via the system provided share picker.

Web Share Target

The Web Share Target API allows installed web apps to register with the underlying OS as a share target to receive shared content from either the Web Share API or system events, like the OS-level share button.

Wake Lock

The Wake Lock API provides a way to prevent the device from dimming or locking the screen or prevent the device from going to sleep when an application needs to keep running.

Shape Detection

The Shape Detection API opens up native implementations of shape detection services and exposes them through a set of JavaScript interfaces. Currently, the supported features are face detection, and barcode detection.

Web Bluetooth

Description

Web NFC

Web NFC aims to provide sites the ability to read and write to nearby NFC devices (e.g., tags and phones). The current scope is limited to NDEF, a lightweight binary message format, but the API is designed so that the feature set can be expanded in the future.

Web USB

The WebUSB API makes USB safer and easier to use by bringing it to the Web.

Web Serial

The Serial API provides a way for websites to read and write from a serial device through script. The API bridges the web and the physical world, by allowing websites to communicate with devices such as microcontrollers, 3D printers, and other serial devices.

Web Assembly

WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.