Reputation: 4401
I am searching for information about custom push notification. I want to implement a tunnel between server and devices (Android and iOS). When it comes a time server should send information to device (App).
Also as i know push works just in one way and server don't know if it's message has reached device. Maybe i am wrong at this statement, so please correct me.
I my case i want that server could know this information. So my question would be how to create this behavior between server and device (Android, iOS). Maybe there are some libraries or even protocol name where i should look.
At this moment i am reading about push notification named MQTT
I would appreciate for any information.
Thank you.
Upvotes: 1
Views: 2383
Reputation: 14274
What you're looking for is Google Cloud Messaging for Android, and Apple Push Notification Service on the iOS side. (There's also Azure in Windows Mobile, but nobody really seems to care due to the cost.
And yes, you're correct in your assertion that push notifications are one-way. However, it is relatively simple to provide an acknowledgement path back to the server, if the device is in connectivity. In response to the notification, you can simply have the device post a token to the server, confirming the receipt of the push notification.
Upvotes: 3