Hello i use of Backendless standalone and all server-code events works fine and publish push in console working but when wants to publish push notification by server-code it’s give below error:
com.backendless.Messaging.publish(Ljava/lang/String;Ljava/lang/Object;Lcom/backendless/messaging/PublishOptions;)Lcom/backendless/services/messaging/MessageStatus
and it’s my custom event code:
PublishOptions publishOptions = new PublishOptions();
publishOptions.setPublisherId(publisherId);
publishOptions.setSubtopic(groupName);
publishOptions.putHeader("date", updateDateStr);
publishOptions.putHeader("pushtype","groupchat");
publishOptions.putHeader("pushtitle", groupTitle);
Backendless.Messaging.publish(groupName, content, publishOptions);