NotificationExtensionTest
NotificationExtensionTest copied to clipboard
Doesn't seem to work anymore?
I've tried to log issues, and I'm getting the following:
NotificationCenter[63054]: Extension <NSExtension: 0x7fb533c031d0> {id = com.hamzasood.NotificationTesting.BannerInterface} not valid
Getting the same thing. Maybe Apple is only allowing their own bundle ids to be used as endpoints? If this is the case, @hamzasood, how could you find out which bundle ids are valid?
@Bogidon Funny, months later, I figured out why this wouldn't work. Add com.apple.private.notification-extension.custom
as YES
to the entitlements file and it'll attempt to load the extension and die miserably... I now have a notification on-screen that won't go away.
@hamzasood
EDIT: Here's why:
6/21/16 6:58:51.647 PM taskgated[137]: killed com.hamzasood.NotificationTesting.BannerInterface[pid 53531] because its use of the com.apple.private.notification-extension.custom entitlement is not allowed (error code -67050)
EDIT again: Using SIMBL to swizzle -[NCRemotePlugInManager _valideExtension:]
to permanently return YES
would do the trick.