Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Issue #1080: clearAllNotifications not working on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Jul 16, 2016
1 parent da301e8 commit 4bea2a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/push.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ PushNotification.prototype.getApplicationIconBadgeNumber = function(successCallb
*/

PushNotification.prototype.clearAllNotifications = function(successCallback, errorCallback) {
if (!successCallback) { successCallback = function() {}; }
if (!errorCallback) { errorCallback = function() {}; }

if (typeof errorCallback !== 'function') {
Expand Down

0 comments on commit 4bea2a7

Please sign in to comment.