This plugin is deprecated, i.e. it is no longer maintained. Going forward additional features and bug fixes will be added to the new cordova-plugin-app-event repository.
Implements didRegisterUserNotificationSettings and broadcasts the event for listening plugins.
#import "AppDelegate+APPRegisterUserNotificationSettings.h"
- (void) pluginInitialize
{
NSNotificationCenter* center = [NSNotificationCenter
defaultCenter];
[center addObserver:self
selector:@selector(didRegisterUserNotificationSettings:)
name:UIApplicationRegisterUserNotificationSettings
object:nil];
}
- (void) didRegisterUserNotificationSettings:(UIUserNotificationSettings*)settings
{
...
}