iOS 11.2: Clearing/Action on any notification with UNCalendarNotificationTrigger causes all delivered notifications to be removed

Originator:mail.junjie
Number:rdar://36019616 Date Originated:December 13 2017, 9:53 PM
Status:Open Resolved:
Product:UserNotifications Framework Product Version:iOS 11.2 (15C114)
Classification:Serious Bug Reproducible:Always
 
Area:
UserNotifications Framework

Summary:
When a notification scheduled with a UNCalendarNotificationTrigger is cleared from the notification center/lock screen, or when any notification action is used, all other delivered notifications by the app are also removed by iOS.

Steps to Reproduce:
1. Schedule multiple notifications to fire using UNCalendarNotificationTrigger (in 5 seconds time)
2. Return to lock screen or home screen and wait for the notifications to fire.
3a) Attempt to clear one notification, or:
3b) 3D Touch a notification to reveal its notification actions and choose any notification action.

Watch attached video, and check out sample project.

Expected Results:
Only the notification that is specifically cleared by the user should be removed from the notification center.

Actual Results:
All delivered notifications by the app is removed.

Version/Build:
iOS 11.2 (15C114)

Configuration:
Tested on iPhone 7 Plus and iPhone X.

Notes:
This does not happen on iOS 11.1.2 and earlier. This problem only happens on iOS 11.2.

Comments

Workaround

Add some text to content.body:

content.body = 'Any text'
By fujianjin6471 at Sept. 20, 2018, 8:30 a.m. (reply...)

Workaround

Add some text to content.body:

content.body = 'Any text'
By fujianjin6471 at Sept. 20, 2018, 8:30 a.m. (reply...)

The same happens to me both iPhone X and iPad Air 2

By harryworld at Jan. 17, 2018, 8:30 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!