An open API service indexing awesome lists of open source software.

https://github.com/katzer/cordova-common-registerusernotificationsettings

Implements didRegisterUserNotificationSettings and broadcasts the event
https://github.com/katzer/cordova-common-registerusernotificationsettings

Last synced: 9 months ago
JSON representation

Implements didRegisterUserNotificationSettings and broadcasts the event

Awesome Lists containing this project

README

          

[![npm version](https://badge.fury.io/js/cordova-plugin-registerusernotificationsettings.svg)](http://badge.fury.io/js/cordova-plugin-registerusernotificationsettings)
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L3HKQCD9UA35A "Donate once-off to this project using Paypal")

[DEPRECATED] Cordova RegisterUserNotificationSettings Plugin
============================================================

### _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](https://github.com/katzer/cordova-plugin-app-event) repository._

Implements didRegisterUserNotificationSettings and broadcasts the event for listening plugins.

```obj-c
#import "AppDelegate+APPRegisterUserNotificationSettings.h"

- (void) pluginInitialize
{
NSNotificationCenter* center = [NSNotificationCenter
defaultCenter];

[center addObserver:self
selector:@selector(didRegisterUserNotificationSettings:)
name:UIApplicationRegisterUserNotificationSettings
object:nil];
}

- (void) didRegisterUserNotificationSettings:(UIUserNotificationSettings*)settings
{
...
}
```