Blog

How to Send Pub/Sub Messages From Backendless Console

by on September 1, 2019

In another post, we introduced you to the publish/subscribe messaging API. The API can be used to broadcast messages that can be received by multiple client apps.

Be sure to check out our guide to building a Flutter chat app to see pub/sub messaging in action.

Note: It is important to distinguish between pub/sub messages and Push Notification messages. There are a number of technical differences and purposes where an app should use one mechanism over the other.

When developing and debugging applications that use the Backendless pub/sub API, it may be very handy to publish messages without writing additional code. For this purpose, Backendless Console supports the message publishing function. To see it in action, run the subscriber code from the previous post and then:

  1. Login to Backendless Console, select your app (must be the same app that the subscriber app uses) and then click the Messaging icon.
  2. Make sure the default messaging channel is selected. Enter the text of the message into the Message text area and click the Publish button.
  3. The message will be displayed in the table of messages in the Messaging screen as shown in the image below. Additionally, all the subscriber apps will receive the message.

Leave a Reply