diff options
author | Kevin Walzer <kw@codebykevin.com> | 2021-07-03 02:27:39 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2021-07-03 02:27:39 (GMT) |
commit | 9f6f107c715ca64766e2d9cf1790c4b5cbcc1716 (patch) | |
tree | 827e9cc2e0cccd561c9cae8435a73159ab2ff67f /doc/sysnotify.n | |
parent | cc065b16238b7ebe705c73d94a85abb3bbd30066 (diff) | |
parent | 65b8f0acfda1986b663143fd056c125651a72bec (diff) | |
download | tk-9f6f107c715ca64766e2d9cf1790c4b5cbcc1716.zip tk-9f6f107c715ca64766e2d9cf1790c4b5cbcc1716.tar.gz tk-9f6f107c715ca64766e2d9cf1790c4b5cbcc1716.tar.bz2 |
Merge trunk
Diffstat (limited to 'doc/sysnotify.n')
-rw-r--r-- | doc/sysnotify.n | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/doc/sysnotify.n b/doc/sysnotify.n index 25f2a41..59e75d3 100644 --- a/doc/sysnotify.n +++ b/doc/sysnotify.n @@ -32,25 +32,8 @@ accompany the text. .TP \fBmacOS\fR . -The macOS version embeds two separate under-the-hood implementations -using different notification APIs. The choice of which one to use -depends on which version of the OS is being run and the state of the -Tk application code. The newer API, introduced in macOS 10.14, -requires that the application accessing the API be code-signed, or the -notification will not display. (A self-signed certificate seems to be -sufficient.) The older API was deprecated but not removed in macOS -11.0. Tk uses the newer API only for signed applications running on -macOS 10.14 or newer. Otherwise it falls back to the older API. A -quirk which developers should be aware of is that if an unsigned -version of Wish (or an application derived from it) is installed on -top of a signed version after the signed version has been registered -with System Preferences then neither API will be allowed to show -notifications, making Tk's automatic fallback to the older API -ineffective. To re-enable notifications the application must be -deleted from Apple's System Preferences Notifications section. (There -is no removal button, so this is done by selecting the application and -pressing the Delete key.) -. +The macOS version will request permission from the user to authorize +notifications. This must be activated in Apple's System Preferences Notifications section. If deploying an application using the standalone version of Wish.app, setting the bundle ID in the applications Info.plist file to begin with |