Shortcuts
A PWA can provide shortcuts to pages (URLs) inside the app. These shortcuts are accessible by long-pressing the app icon on an Android device, by right-clicking the app icon on a ChromeOS device, or by starting the app on a macOS device or Windows device and then right-clicking the app icon in the Dock.
Note that the shortcuts are available even when the app is not running only on Android and ChromeOS devices.
Shortcuts are specified in the shortcuts
member of the manifest.json
file.
Demo
Install this web app to your device and access the shortcuts by long-pressing the app icon on an Android device, by right-clicking the app icon on a ChromeOS device, or by starting the app on a macOS device or Windows device and then right-clicking the app icon in the Dock.
Documentation
App shortcuts on web.devBrowser support
Shortcuts are available on desktop for web apps installed through Chrome and Edge, web apps added to the Dock through Safari on macOS, and web apps installed through Chrome on Android.