diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-28 13:54:01 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-28 13:54:01 -0400 |
| commit | f28620166d390fa85f3d283a7307f0746d559cbb (patch) | |
| tree | 8039eff22ecd63c69f75290832405c7984a0e4b7 /www/js/EventServer.js | |
| parent | 25673f22a28f08a91bf27575e284c5b8174d9cac (diff) | |
#725 if already transitioned out, handle process-push in Portal
Diffstat (limited to 'www/js/EventServer.js')
| -rw-r--r-- | www/js/EventServer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js index a67d5426..68c21e9a 100644 --- a/www/js/EventServer.js +++ b/www/js/EventServer.js @@ -478,6 +478,7 @@ angular.module('zmApp.controllers') // console.log("*********** MEDIA BLOG IS " + mediasrc); media = $cordovaMedia.newMedia(mediasrc); + push.on('registration', function (data) { pushInited = true; NVRDataModel.debug("Push Notification registration ID received: " + JSON.stringify(data)); @@ -548,6 +549,7 @@ angular.module('zmApp.controllers') push.on('notification', function (data) { $ionicPlatform.ready(function () { + NVRDataModel.log("******* notification handler device ready"); NVRDataModel.debug("received push notification"); var ld = NVRDataModel.getLogin(); |
