Open openradar-mirror opened 6 years ago
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-17T22:33:46.111534
Modified: 2018-10-31T19:19:53.412794
Description
Area: UserNotifications Framework
Summary: We have a popular push notification SDK (OneSignal). Our SDK allows apps to attach images to their push notifications dynamically. To do this, we register buttons/etc. to a UNNotificationCategory in a Notification Service Extension.
This has worked perfectly since iOS 10. However, now in iOS 12, we are seeing occasional issues, especially for newly installed apps, where actions/attachments registered to a UNNotificationCategory don't show up on notifications.
Steps to Reproduce:
didReceiveNotificationRequest
method, create aUNNotificationCategory
and add some actions to it, and register the new category usingUNUserNotificationCenter.current.setNotificationCategories([your_category])
UNMutableNotificationContent
instance, set thecategoryIdentifier
to be the same as the category created in step 2Expected Results: The notification should now have the buttons from step 2.
Actual Results: However in our testing (and for many app developers using our SDK), notifications often seem to ignore the category identifier and don't show the correct actions.
Version/Build: iOS 12.0.0
- Product Version: 12.0.0 Created: 2018-10-17T01:20:05.059262 Originated: 2018-10-16T00:00:00 Open Radar Link: http://www.openradar.me/45325233