I can try and help implement support for the supported User Notification API. One issue is that you have to fallback to the old API when your python install isn't codesigned (for example python from homebrew)
You can check if it is supported pretty easily with this
from UserNotifications import UNUserNotificationCenter
def auth_callback(granted, err):
print("Granted: ", granted)
print("Error in authorization request: ", err)
c = UNUserNotificationCenter.currentNotificationCenter()
c.requestAuthorizationWithOptions_completionHandler_(0b111111,auth_callback
I can try and help implement support for the supported User Notification API. One issue is that you have to fallback to the old API when your python install isn't codesigned (for example python from homebrew)
You can check if it is supported pretty easily with this