{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/badging",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "badging",
    "name": "Badging",
    "description": "The navigator.setAppBadge() method allows installed web applications to display an application badge, typically a dot or number shown alongside the application's icon on the device's home screen or application dock.",
    "group": "other",
    "groupName": "other",
    "spec": "https://w3c.github.io/badging/",
    "baseline": false,
    "compatCount": 2,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.Navigator.clearAppBadge",
      "api.Navigator.setAppBadge"
    ],
    "s": {
      "chrome": {
        "v": "81",
        "d": 18359
      },
      "edge": {
        "v": "81",
        "d": 18365
      },
      "safari": {
        "v": "17",
        "d": 19618
      },
      "safari_ios": {
        "v": "16.4",
        "d": 19443
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.Navigator.clearAppBadge",
      "cat": "api",
      "mdn": "API/Navigator/clearAppBadge",
      "spec": "https://w3c.github.io/badging/#clearappbadge-method",
      "st": 1,
      "wf": "badging",
      "bl": false,
      "s": {
        "chrome": {
          "v": "81",
          "d": 18359
        },
        "safari": {
          "v": "17",
          "d": 19618
        },
        "edge": {
          "v": "81",
          "d": 18365
        },
        "chrome_android": {
          "v": "81",
          "d": 18359
        },
        "safari_ios": {
          "v": "16.4",
          "d": 19443
        },
        "webview_android": {
          "v": "81",
          "d": 18359
        },
        "samsunginternet_android": {
          "v": "13.0",
          "d": 18598
        },
        "opera_android": {
          "v": "58",
          "d": 18395
        },
        "oculus": {
          "v": "9.0",
          "d": 18376
        }
      },
      "notes": [
        {
          "t": "Windows and macOS since Chrome 81.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "ChromeOS since Chrome 91.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Linux offers no universal badging API on the operating system level.",
          "b": [
            "chrome",
            "edge"
          ]
        },
        {
          "t": "Badging is supported for installed web apps on macOS Sonoma and higher.",
          "b": [
            "safari"
          ]
        },
        {
          "t": "Windows and macOS since Edge 81.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "ChromeOS since Edge 91.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Badging is supported for web apps saved to the home screen.",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "api.Navigator.setAppBadge",
      "cat": "api",
      "mdn": "API/Navigator/setAppBadge",
      "spec": "https://w3c.github.io/badging/#setappbadge-method",
      "st": 1,
      "wf": "badging",
      "bl": false,
      "s": {
        "chrome": {
          "v": "81",
          "d": 18359
        },
        "safari": {
          "v": "17",
          "d": 19618
        },
        "edge": {
          "v": "81",
          "d": 18365
        },
        "safari_ios": {
          "v": "16.4",
          "d": 19443
        }
      },
      "notes": [
        {
          "t": "Windows and macOS since Chrome 81.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "ChromeOS since Chrome 91.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Linux offers no universal badging API on the operating system level.",
          "b": [
            "chrome",
            "edge"
          ]
        },
        {
          "t": "Badging is supported for installed web apps on macOS Sonoma and higher.",
          "b": [
            "safari"
          ]
        },
        {
          "t": "Passing <code>0</code> as an argument will clear the badge instead of displaying an unnumbered dot.",
          "b": [
            "safari",
            "safari_ios"
          ]
        },
        {
          "t": "Windows and macOS since Edge 81.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "ChromeOS since Edge 91.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Badging is supported for web apps saved to the home screen.",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    }
  ]
}