summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/EventServer.js11
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 {