diff options
Diffstat (limited to 'www/js/EventServer.js')
| -rw-r--r-- | www/js/EventServer.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js index 77287feb..8d7fd65e 100644 --- a/www/js/EventServer.js +++ b/www/js/EventServer.js @@ -471,6 +471,17 @@ angular.module('zmApp.controllers') $rootScope.alarmCount = "0"; $rootScope.isAlarm = 0; $rootScope.tappedNotification = 1; + + 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'); + } + } else { // this flag honors the HW mute button. Go figure |
