There's already a question at the forum regarding this issue, and I asked my quetsion there, but id didn't bump the thread so I'll ask it here as a new question:
I'm calling requestAuthorization at the containing app, and the user approves notifications.
Then at the Extension, I'm calling getNotificationSettings, but the authorizationStatus is notDetermined, and the error is "Notifications are not allowed for this application". Trying to post notifications from the containing app is working fine, but I want to send the notifications from the extension, because the app might be in background mode.
Also, looking at the Mac's Notifications Settings, I see that the "Allow Notifications from myApp" is enabled.
I tried to test it on several devices - iphone with iOS 13, Mac with macOS 10.14.5 and Mac with macOS 10.15.2.
P.S: The old question: https://forums.developer.apple.com/message/385775#385775