Skip to content

Conversation

@bbirman
Copy link
Member

@bbirman bbirman commented Nov 23, 2025

No description provided.


private extension PushNotificationManager {

func createNotificationCategories(from type: NotificationType) -> [UNNotificationCategory] {
Copy link
Member Author

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

Copy link
Contributor

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
Copy link
Member Author

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
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.30%. Comparing base (27bf5db) to head (e122204).
⚠️ Report is 3 commits behind head on dev.

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     
Components Coverage Δ
Analytics 70.78% <ø> (ø)
Common 69.76% <ø> (ø)
Core 53.84% <100.00%> (-1.06%) ⬇️
SmartStore 74.59% <ø> (ø)
MobileSync 87.41% <ø> (ø)
Files with missing lines Coverage Δ
...hNotificationManager+ActionableNotifications.swift 89.83% <100.00%> (-1.08%) ⬇️

... and 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants