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
- Host: GitHub
- URL: https://github.com/katzer/cordova-common-registerusernotificationsettings
- Owner: katzer
- License: apache-2.0
- Created: 2015-05-02T15:55:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-01T18:28:28.000Z (over 10 years ago)
- Last Synced: 2024-12-09T22:59:27.086Z (over 1 year ago)
- Language: Objective-C
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://badge.fury.io/js/cordova-plugin-registerusernotificationsettings)
[](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
{
...
}
```