diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-05-05 15:08:40 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-05-05 15:08:40 -0400 |
| commit | ea2fb69f1c02eb3a2ed5aea79db79bf59f0568c3 (patch) | |
| tree | b4d0f71758912037e9e11838dbefc66c8f7114d8 | |
| parent | 942e97539c021573a56f16190752e312d8fdd550 (diff) | |
#237 - clear badge on start
Former-commit-id: c197e09029ac66c3b325fde3f1200e66293ac4bb
| -rw-r--r-- | www/js/EventServer.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js index 8d7fd65e..25c13fac 100644 --- a/www/js/EventServer.js +++ b/www/js/EventServer.js @@ -371,7 +371,8 @@ angular.module('zmApp.controllers') "ios": { "alert": "true", "badge": "true", - "sound": "true" + "sound": "true", + "clearBadge": "true" } } @@ -475,11 +476,9 @@ angular.module('zmApp.controllers') if ($rootScope.platformOS == 'ios') { ZMDataModel.zmDebug ("iOS only: clearing background push"); - push.finish(function() { - ZMDataModel.zmDebug ("Finished background push"); - }, function() { - ZMDataModel.zmDebug ("background push error"); - }, 'push-1'); + push.finish(function() { + ZMDataModel.zmDebug("processing of push data is finished"); + }); } } else { |
