From be45614f6f0928dfac6248efaa042a5e5bf8322d Mon Sep 17 00:00:00 2001 From: Dani Haro <47931084+daniharo@users.noreply.github.com> Date: Thu, 8 Jun 2023 08:51:49 +0200 Subject: [PATCH] docs: indicate `app.setBadgeCount()` needs notifications permission to work (#38648) docs: match docs for `app.badgeCount` and `app.setBadgeCount()` --- docs/api/app.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/app.md b/docs/api/app.md index 35b6da350e91..23cf19e5f4fb 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -1276,6 +1276,9 @@ On macOS, it shows on the dock icon. On Linux, it only works for Unity launcher. **Note:** Unity launcher requires a `.desktop` file to work. For more information, please read the [Unity integration documentation][unity-requirement]. +**Note:** On macOS, you need to ensure that your application has the permission +to display notifications for this method to work. + ### `app.getBadgeCount()` _Linux_ _macOS_ Returns `Integer` - The current value displayed in the counter badge.