Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created August 25, 2021 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/dfaeba17919ff090b52d72793f93f28d to your computer and use it in GitHub Desktop.
Save MartinZikmund/dfaeba17919ff090b52d72793f93f28d to your computer and use it in GitHub Desktop.
await navigator.setAppBadge(42); // Sets the app badge to 42
await navigator.clearAppBadge(); // Clears the app badge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment