cordova-common-registerusernotificationsettings-mm

1.0.1 • Public • Published

Temporary Fork of Cordova RegisterUserNotificationSettings Plugin to hot-fix PGB build problem for Moodle Mobile application.

Cordova RegisterUserNotificationSettings Plugin

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
{
    ...  
}

Package Sidebar

Install

npm i cordova-common-registerusernotificationsettings-mm

Weekly Downloads

1

Version

1.0.1

License

Apache 2.0

Last publish

Collaborators

  • dpalou