Registered UNNotificationCategory not cleared after deleting and reinstalling app

Originator:pdesantis3
Number:rdar://29612491 Date Originated:11-Dec-2016
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 10.1.1
Classification:APNS (Notifications) Reproducible:
 
Summary:
UNNotificationCategory objects remain registered even after deleting and reinstalling an app.

Steps to Reproduce:
https://github.com/pdesantis/RadarNotificationCategory
1. Install the attached sample app
2. Accept the notification permission dialog
3. Press the "register notification category" button
4. The label will display "1 categories are registered"
5. Delete the app
6. Reinstall the app
7. The label will still display "1 categories are registered," even without pressing the register button

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!