Notifications and background
Alerts and work that runs when the app is closed. 14 capabilities.
Alerts and work that runs when the app is closed. 14 capabilities in this group.
| Capability | Kind | In one line |
|---|---|---|
| Background Fetch | Works without asking | Can download or upload big files after you leave the tab, with a progress notice |
| Background Sync | Works without asking | Can retry sending queued data after you close the tab, once you are back online |
| Badging API | Works without asking | Can show a number or dot on the icon of an installed web app |
| Chrome and OS defenses against notification abuse | Asks you first | Can't keep sending spam if you block it; Chrome quiets and removes abusers |
| Declarative Web Push (Safari) | Works without asking | Can show you a notification from Safari's new push format without running site code |
| Idle Detection | Asks you first | Can tell when you step away or lock your screen, if you allow it |
| Notification Triggers (abandoned) | Works without asking | Can't schedule a notification for later without a server; no browser ships it |
| Notifications | Asks you first | Can show messages on your screen outside the browser tab, once you tap Allow |
| Periodic Background Sync | Asks you first | Can refresh an installed web app now and then while closed, at times the browser picks |
| Push API (Web Push) | Asks you first | Can send you notifications after you leave, once you allow them |
| Push, periodic sync and background fetch | Works without asking | Can wake a site's background script after you leave, through push, timed sync or downloads |
| Screen Wake Lock | Works without asking | Can keep your screen on while the page is showing, but not in the background |
| Service worker lifetime | Works without asking | Can keep a background helper script for a site that stays after you close the tab |
| System Wake Lock | Blocked for apps | Can't keep your device awake with the screen off; no browser ever shipped this |