diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-10 11:28:44 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-10 11:28:44 -0400 |
| commit | d0d3aaf7af63afa041e9af145267b0bb04ee729f (patch) | |
| tree | be718a451ed33afeead4d87c186fe231fe09a444 /plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md | |
| parent | 7b0d282994db52cc4bc6b62b33ce05efbb522fae (diff) | |
Notifications now have a blop sound, also handling application badges
Diffstat (limited to 'plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md')
| -rw-r--r-- | plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md b/plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md new file mode 100644 index 00000000..bebb014d --- /dev/null +++ b/plugins/de.appplant.cordova.common.registerusernotificationsettings/README.md @@ -0,0 +1,25 @@ + +Cordova RegisterUserNotificationSettings Plugin +=============================================== + +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 +{ + ... +} +```
\ No newline at end of file |
