12 Commits

Author SHA1 Message Date
cyerena
4afc891409 Update iPhone/LocalNotification/plugin/LocalNotification.m
To clear all notifications, just alter cancelAllNotifications fron LocalNotifications.m file adding:
    [[UIApplication sharedApplication] setApplicationIconBadgeNumber: 1];
    [[UIApplication sharedApplication] setApplicationIconBadgeNumber: 0];

before [[UIApplication sharedApplication] cancelAllLocalNotifications];

I hope, that solution can help.
2013-02-26 19:23:22 -06:00
Drew Dahlman
2e175f3387 Updates to LocalNotifications
- Added the ability to have the notification ID included in the
callback.

- Fixed spelling of 'foreground'

- updated read me, as well as supporting blogpost
2012-05-16 08:33:03 -06:00
Drew Dahlman
0b19e9c564 Revert "Fixing the call to Cordova"
This reverts commit c6c52c1479.
2012-04-16 08:34:33 -06:00
Drew Dahlman
c6c52c1479 Fixing the call to Cordova
The Capital C in Cordova.exec causes the plugin to not work. By
changing it to cordova.exec it works as expected.
2012-04-16 08:26:09 -06:00
Drew Dahlman
c64d17d5a7 Cleanup 2012-04-15 19:38:39 -06:00
Drew Dahlman
d1ddb1b663 Removed references / dual support of Cordova 2012-04-15 19:31:27 -06:00
Drew Dahlman
ab5509e7da Updated to support sound & callbacks 2012-04-15 10:54:38 -06:00
Stephan Bönnemann
7813bdc670 corrected a wrong and confusing comment 2011-08-29 11:14:11 +02:00
Valentin Zwick
8fa43f4eac Re-Fixing. 2011-06-29 06:35:43 -07:00
Valentin Zwick
22af4452dd Updating to PGPlugin base class, cf [Issue #44](https://github.com/phonegap/phonegap-plugins/issues/44) 2011-06-29 04:10:14 -07:00
Brian Shumate
7f6ecd9c97 Made headers compatible with XCode 4 / new PhoneGap framework 2011-06-27 20:47:36 -04:00
Greg Allen
b35e157149 local notification plugin 2011-06-21 18:43:12 -07:00