The Notification Service Extension stops being invoked and notifications are not shown to the user

Originator:btang1
Number:rdar://31422746 Date Originated:04-Apr-2017
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10.X, as recent as 10.3
Classification:Serious Bug Reproducible:Yes
 
Summary:
When using the Notification Service Extension (NSE) with an app, the system sometimes gets into a state where push notifications for the app stop appearing altogether.  Upon closer inspection via logs and debugging, the NSE is not invoked for an incoming push notification, and the push notification is not otherwise shown to the user.  The only fix is to reboot the device, after which the NSE is correctly invoked on incoming push notifications.

Steps to Reproduce:
1. Create an app with an NSE
2. Send NSE-compatible push notifications to the app (non-empty body and the mutable-content flag set)

Expected Results:
The NSE is consistently and reliably invoked for compatible notifications.

Actual Results:
The system sometimes gets into a state where push notifications for the app stop appearing altogether.  Upon closer inspection via logs and debugging, the NSE is not invoked for an incoming push notification, and the push notification is not otherwise shown to the user.  The only fix is to reboot the device, after which the NSE is correctly invoked on incoming push notifications.

Version:
iOS 10.X, as recent as 10.3

Comments


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!