I was doing research if I can notify important event that happens in my server to application user. so, I tried Google-Cloud-Messaging to implement push notifications.
Unfortunately, I can see message are delivered late with no exact delay delivery time. I even
tried by sending mail in gmail and the push notifications for gmail itself arrived late with no time bound.
So, I see that I cant use google-cloud-messaging service to deliver important event to user.
Is there any alternatives to notify user with important event?
NOTE: I dont want to use sms. And I dont want to pull from applicaiton too as it consumes battery life.
Thanks for your help in advance.
GCM is what you use to push a message to a user ASAP. You can specify in your message when it needs to be delivered – it may be that gmail using the delay_while_idle flag to preserve battery. In my experience, GCM is really, really fast. You should only experience throttling if you are pushing many updates to the same device in a very short time period.
https://developer.android.com/google/gcm/adv.html