[PM-33569] feat: Add notification service extension to update auth request notifications#2444
[PM-33569] feat: Add notification service extension to update auth request notifications#2444matt-livefront wants to merge 3 commits intomainfrom
Conversation
|
Claude finished @matt-livefront's task in 2m 49s —— View job Overall Assessment: APPROVE Re-reviewed the latest commit ( Code Review DetailsNo findings. The refactoring is straightforward and correctly preserves error handling behavior in both call sites. The minor behavioral change in |
|
Overall Assessment: APPROVE Reviewed the new Code Review DetailsNo findings. The implementation follows established codebase patterns consistently:
|
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2444 +/- ##
==========================================
- Coverage 86.86% 85.72% -1.15%
==========================================
Files 1841 2077 +236
Lines 162244 177346 +15102
==========================================
+ Hits 140941 152026 +11085
- Misses 21303 25320 +4017 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fedemkr
left a comment
There was a problem hiding this comment.
Looks good, just some minor comments.
BitwardenShared/Core/Platform/Services/NotificationExtensionHelper.swift
Outdated
Show resolved
Hide resolved
BitwardenShared/Core/Platform/Services/NotificationExtensionHelper.swift
Show resolved
Hide resolved
BitwardenShared/Core/Platform/Services/NotificationExtensionHelper.swift
Show resolved
Hide resolved
… userInfo dictionary
|
@matt-livefront Triggered runs to test the new provisioning profiles:
edit: both passed! |

🎟️ Tracking
PM-33569
📔 Objective
We're switching from background push notifications to alert push notifications for "login with device" auth requests. This adds a UNNotificationServiceExtension that intercepts those alert notifications and updates the body with the requesting user's email before delivery.
DefaultNotificationExtensionHelperin BitwardenShared which reads account state and updates the notification title/body for auth request notificationsThe backend sends:
The notification extension updates this to:
This handles updating the content of the push notification. There will be a separate PR to handle processing this notification in the app when it's tapped.