Send push notifications with a payload. This recipe shows how to send and receive a string, but data can be extracted from a Push message in a variety of formats (string, ArrayBuffer, Blob, JSON).
A message does not have to deliver just text, but can deliver various kinds of payloads of data to an application. This demonstrates how you can deliver a rich payload to your app.
Has it been useful?
Tell us what you think of this recipe by leaving a comment!