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
Currently you need to actively poll push-notification outcomes via:
===
PushQueue.getPushNotifications().{getFailedNotifications,getSuccessfulNotificati
ons()}
Polling for these status has drawbacks:
- new push-notifications might be added meanwhile (inconsistent view)
- polling is bad for getting feedback on time (you have to define polling
interval)
A much nicer feedback channel would be to include a callback:
===
PushNotificationManager.sendNotification(.... Callback callback) {
// something went fine
callback.success(pushedNotification)
...
// something went wrong
callback.failed(exception, pushedNotification)
Original issue reported on code.google.com by maldana....@gmail.com on 10 Sep 2013 at 9:13
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
maldana....@gmail.com
on 10 Sep 2013 at 9:13The text was updated successfully, but these errors were encountered: