From b84df99b805d70fa94051b1b37e6364aa132a4bc Mon Sep 17 00:00:00 2001 From: queue-it Date: Thu, 11 Aug 2022 11:23:25 +0000 Subject: [PATCH] Preparing release 2.1.4 --- README.md | 2 +- build.gradle | 2 +- .../com/queue_it/shopdemo/MainActivity.java | 8 +-- .../src/library/res/layout/activity_main.xml | 29 --------- .../com/queue_it/shopdemo/MainActivity.java | 8 +-- .../res/layout/activity_main.xml | 30 --------- .../queue_it/androidsdk/QueueITEngine.java | 61 ++----------------- 7 files changed, 13 insertions(+), 127 deletions(-) diff --git a/README.md b/README.md index 08956d1..69649c6 100644 --- a/README.md +++ b/README.md @@ -157,4 +157,4 @@ If your application is using an API that's protected by a Queue-it connector (Kn ```xml -``` +``` \ No newline at end of file diff --git a/build.gradle b/build.gradle index 8090fbb..59242d5 100644 --- a/build.gradle +++ b/build.gradle @@ -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.3" + libraryVersion = "2.1.4" organization = "Queue-it" organizationUrl = "https://queue-it.com" diff --git a/demoapp/src/library/java/com/queue_it/shopdemo/MainActivity.java b/demoapp/src/library/java/com/queue_it/shopdemo/MainActivity.java index d606fc6..2212f74 100644 --- a/demoapp/src/library/java/com/queue_it/shopdemo/MainActivity.java +++ b/demoapp/src/library/java/com/queue_it/shopdemo/MainActivity.java @@ -20,7 +20,6 @@ import com.queue_it.androidsdk.Error; public class MainActivity extends AppCompatActivity { - RadioButton enableCacheRadioButton; FloatingActionButton queue_button; EditText customerIdEditText; EditText eventIdEditText; @@ -34,11 +33,11 @@ private void runQueue(QueueITEngine queueITEngine) throws QueueITException { String enqueueToken = enqueueTokenEditText.getText().toString(); String enqueueKey = enqueueKeyEditText.getText().toString(); if (enqueueToken.length() > 0) { - queueITEngine.runWithEnqueueToken(MainActivity.this, enqueueToken, !enableCacheRadioButton.isChecked()); + queueITEngine.runWithEnqueueToken(MainActivity.this, enqueueToken); } else if (enqueueKey.length() > 0) { - queueITEngine.runWithEnqueueKey(MainActivity.this, enqueueKey, !enableCacheRadioButton.isChecked()); + queueITEngine.runWithEnqueueKey(MainActivity.this, enqueueKey); } else { - queueITEngine.run(MainActivity.this, !enableCacheRadioButton.isChecked()); + queueITEngine.run(MainActivity.this); } } @@ -53,7 +52,6 @@ protected void onCreate(Bundle savedInstanceState) { layoutNameEditText = findViewById(R.id.layoutname_edittext); languageEditText = findViewById(R.id.language_edittext); testRadioButton = findViewById(R.id.radio_environment_test); - enableCacheRadioButton = findViewById(R.id.radio_cache_enabled); customerIdEditText.addTextChangedListener(getRequiredTextValidator(customerIdEditText)); eventIdEditText.addTextChangedListener(getRequiredTextValidator(eventIdEditText)); enqueueTokenEditText = findViewById(R.id.enqueuetoken_edittext); diff --git a/demoapp/src/library/res/layout/activity_main.xml b/demoapp/src/library/res/layout/activity_main.xml index ee7c443..799260f 100644 --- a/demoapp/src/library/res/layout/activity_main.xml +++ b/demoapp/src/library/res/layout/activity_main.xml @@ -145,36 +145,7 @@ - - - - - - - - - - - 0) { - queueITEngine.runWithEnqueueToken(this, enqueueToken, !enableCacheRadioButton.isChecked()); + queueITEngine.runWithEnqueueToken(this, enqueueToken); } else if (enqueueKey.length() > 0) { - queueITEngine.runWithEnqueueKey(this, enqueueKey, !enableCacheRadioButton.isChecked()); + queueITEngine.runWithEnqueueKey(this, enqueueKey); } else { - queueITEngine.run(this, !enableCacheRadioButton.isChecked()); + queueITEngine.run(this); } } @@ -128,7 +127,6 @@ protected void onCreate(Bundle savedInstanceState) { layoutNameEditText = findViewById(R.id.layoutname_edittext); languageEditText = findViewById(R.id.language_edittext); testRadioButton = findViewById(R.id.radio_environment_test); - enableCacheRadioButton = findViewById(R.id.radio_cache_enabled); customerIdEditText.addTextChangedListener(getRequiredTextValidator(customerIdEditText)); eventIdEditText.addTextChangedListener(getRequiredTextValidator(eventIdEditText)); enqueueTokenEditText = findViewById(R.id.enqueuetoken_edittext); diff --git a/demoapp/src/library_androidx/res/layout/activity_main.xml b/demoapp/src/library_androidx/res/layout/activity_main.xml index 706940d..8943ac9 100644 --- a/demoapp/src/library_androidx/res/layout/activity_main.xml +++ b/demoapp/src/library_androidx/res/layout/activity_main.xml @@ -145,36 +145,6 @@ - - - - - - - - - - - -