[webkit-changes] [WebKit/WebKit] adf781: Fix issue with notificationclick/close at launch
Brady Eidson
noreply at github.com
Thu Aug 29 12:47:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: adf7818ea55a6164521bdb3cce8b5bf38c43c1f2
https://github.com/WebKit/WebKit/commit/adf7818ea55a6164521bdb3cce8b5bf38c43c1f2
Author: Brady Eidson <beidson at apple.com>
Date: 2024-08-29 (Thu, 29 Aug 2024)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
Log Message:
-----------
Fix issue with notificationclick/close at launch
rdar://134953334
https://bugs.webkit.org/show_bug.cgi?id=278873
Reviewed by Ben Nham.
There needs to be *a* UNUserNotificationCenter delegate installed to get notification related events at launch,
even if it does nothing.
So let's install one.
* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
(-[_WKWebsiteDataStoreNotificationCenterDelegate userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:]):
(+[WKWebsiteDataStore _setWebPushActionHandler:]):
Canonical link: https://commits.webkit.org/282919@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list