If a notification comes in, it will be shown in the Messenger section, something that the OS will provide for us. In addition, we can define what to do with it. In Android, we can implement a PushHandler class that consumes the notification and defines specific actions for it using the NotificationCompat builder. Here is an Android Java example:
public class PushHandler extends NotificationsHandler { Context ctx; @Override public void onReceive(Context context, Bundle bundle) { ctx = context; String nhMessage = bundle.getString("message"); Parcelable parselableObject = bundle.getParcelable("parcel"); consumeNotification(nhMessage,parselableObject); } private void consumeNotification(String msg, Parcelable parselableObject) { Log.i(this.getClass...