Hi, please help ASAP.
I’m dealing with a test game and the players are 30 and everyone with an Android Table receive the question at the same time using Listener:
private void subscribeForObjectUpdate(IDataStore rtHandler) {
rtHandler.rt().addUpdateListener(“objectId='” + objectIdStatus + “'”, new AsyncCallback() {
@Override
public void handleResponse(Map response) {
if (response.get(“status”) != null) {
respuestaEnCurso = String.valueOf(response.get(“status”));
status.setText(respuestaEnCurso + " de 5");
statusChange();
}
}
@Override
public void handleFault(BackendlessFault fault) {
Pregunta05.this.handleFault(fault);
}
});
}
Each new question I change the Listener for that reason remove with this
EventHandler rtHandler = Backendless.Data.of(“Status”).rt();
rtHandler.removeUpdateListeners();
Everything works fine until question number 6 where I received this message during the subscription:
got error {code=0, details={limit=5}, message=Reached Limit: you can not have more then 5 subscriptions per one connection}
Server report an error {code=0, details={limit=5}, message=Reached Limit: you can not have more then 5 subscriptions per one connection}
The remove it’s OK, can I but more subscriptions I need just 6 !!!
Thanks, Mario