Hi, I am trying to send a simple push notification with a template i created in backendless. When I send the notification using the API, I get the following error:
BackendlessFault{ code: ‘Server.Processing’, message: ‘unable to find method in class. method name pushWithTemplate’, detail: ‘unable to find method in class. method name pushWithTemplate’, extendedData: ‘{}’ }
Below is the method I’m using:
Backendless.Messaging.pushWithTemplate("newOrderTemp", new AsyncCallback<MessageStatus>() {
@Override
public void handleResponse(MessageStatus response) {
Toast.makeText(getApplicationContext(), response.getStatus().toString(),
Toast.LENGTH_LONG
).show();
}
@Override
public void handleFault(BackendlessFault fault) {
Toast.makeText(getApplicationContext(), fault.toString(),
Toast.LENGTH_LONG
).show();
//Log.i( "PUSH NOTIFICATION ERROR", fault.toString());
}
});