cordova-plugin-registerusernotificationsettings

1.0.2 • Public • Published

npm version PayPayl donate button

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

/cordova-plugin-registerusernotificationsettings/

    Package Sidebar

    Install

    npm i cordova-plugin-registerusernotificationsettings

    Weekly Downloads

    1

    Version

    1.0.2

    License

    Apache 2.0

    Last publish

    Collaborators

    • katzer
    • knittel