-
Notifications
You must be signed in to change notification settings - Fork 430
Fix actionable notifications options #3954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
|
|
||
| private extension PushNotificationManager { | ||
|
|
||
| func createNotificationCategories(from type: NotificationType) -> [UNNotificationCategory] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the deleted code is duplicative of the methods in NotificationCategoryFactory.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does NotificationCategoryFactory.shared.createCategories behave differently from the duplicate?
| UNNotificationAction( | ||
| identifier: action.identifier, | ||
| title: action.label, | ||
| options: [.foreground] // Ensures the app opens if needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the line causing the issue and the updated logic is already in the other class here
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3954 +/- ##
==========================================
- Coverage 63.96% 63.30% -0.67%
==========================================
Files 252 252
Lines 22100 22080 -20
==========================================
- Hits 14137 13978 -159
- Misses 7963 8102 +139
🚀 New features to boost your workflow:
|
No description provided.