docs: badgeCount needs notifications permission on macOS (#23488)

In order for `badgeCount` to properly update the dock icon on
macOS, the application needs to have the permissions to display
notifications.

Cross-refs #22715.
This commit is contained in:
Robin Dupret 2020-05-11 20:13:17 +02:00 committed by GitHub
parent 5951b0ad4b
commit ce4d95b16a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1305,6 +1305,9 @@ On macOS, setting this with any nonzero integer shows on the dock icon. On Linux
**Note:** Unity launcher requires the existence of a `.desktop` file to work,
for more information please read [Desktop Environment Integration][unity-requirement].
**Note:** On macOS, you need to ensure that your application has the permission
to display notifications for this property to take effect.
### `app.commandLine` _Readonly_
A [`CommandLine`](./command-line.md) object that allows you to read and manipulate the