Skip to content

Commit

Permalink
Preparing release 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
queue-it committed Jul 28, 2022
1 parent cd812b9 commit 1725032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ allprojects {
groupId = 'com.queue-it.androidsdk'
libraryName = 'com.queue_it.androidsdk'
libraryDescription = 'Android SDK to integrate with Queue-it'
libraryVersion = "2.1.0"
libraryVersion = "2.1.1"
organization = "Queue-it"
organizationUrl = "https://queue-it.com"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public void onFailure(String errorMessage, int errorCode) {
Log.v("WaitingRoomProvider", String.format("Error: %s: %s", errorCode, errorMessage));
if (errorCode >= 400 && errorCode < 500) {
_queueITWaitingRoomProviderListener.onFailure(String.format("Error %s (%s)",errorMessage , errorCode), Error.INVALID_RESPONSE);
_requestInProgress.set(false);
} else {
QueueITWaitingRoomProvider.this.enqueueRetryMonitor(enqueueToken, enqueueKey);
}
Expand Down Expand Up @@ -190,6 +191,7 @@ public void run() {
_isOnlineRetry++;
if (_isOnlineRetry > 5) {
_queueITWaitingRoomProviderListener.onFailure( "No connection", Error.NO_CONNECTION);
_requestInProgress.set(false);
return;
}

Expand Down

0 comments on commit 1725032

Please sign in to comment.