Commit e28ca15d authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Reset badge with cancelAll #85

parent 40461306
Loading
Loading
Loading
Loading
+1 −0
Changes for README.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ More informations can be found [here](https://build.phonegap.com/plugins/413).
#### Version 0.7.2 (not yet released)
- [enhancement:] Avoid blocking the main thread (on Android) **(dpogue)**.
- [bugfix:] `onadd` was called each time after a repeating message was triggered (Android)
- [change:] Reset badge with cancelAll.

#### Version 0.7.1 (31.01.2014)
- [bugfix:] `ongoing` attribute was ignored.
+1 −0
Changes for src/ios/APPLocalNotification.m: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ NSString *const kAPP_LOCALNOTIFICATION = @"APP_LOCALNOTIFICATION";
        [[NSUserDefaults standardUserDefaults] synchronize];

        [[UIApplication sharedApplication] cancelAllLocalNotifications];
        [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
    }];
}

+1 −0
Changes for src/wp8/LocalNotification.cs: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -90,6 +90,7 @@ namespace Cordova.Extension.Commands
                // Empty strings for the text values and URIs will result in the property being cleared.
                FlipTileData TileData = new FlipTileData
                {
                    Count                = 0,
                    BackTitle            = "",
                    BackContent          = "",
                    WideBackContent      = "",