You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This app registers to GCM whenever user opens it, but this is not ideal as Registration ID will keep on changing after certain intervals. So, whenever the app is able to successfully store the Registration ID in the server, I am putting a variable in local storage to note it. After the successful restoration of registration ID, app won't register again.
But the problem is that if I am not calling $cordovaPush.register every time, "$cordovaPush:notificationReceived" is not being called. The notification stays in status bar, if I touch it nothing happens and app is not able to add it to $scope.notifications.
The text was updated successfully, but these errors were encountered:
This app registers to GCM whenever user opens it, but this is not ideal as Registration ID will keep on changing after certain intervals. So, whenever the app is able to successfully store the Registration ID in the server, I am putting a variable in local storage to note it. After the successful restoration of registration ID, app won't register again.
But the problem is that if I am not calling $cordovaPush.register every time, "$cordovaPush:notificationReceived" is not being called. The notification stays in status bar, if I touch it nothing happens and app is not able to add it to $scope.notifications.
The text was updated successfully, but these errors were encountered: