aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2023-01-03 08:35:27 -0300
committerTorsten Grote <t@grobox.de>2023-01-03 08:35:27 -0300
commit3a12b1cc53f832e943b4825e132db6fe8ee083d6 (patch)
tree9bc781810120becf3e667fb90a60ad1f61be79a7
parent02ad9bde3e671a3566d68a6b968efe288e67d910 (diff)
downloadtaler-android-3a12b1cc53f832e943b4825e132db6fe8ee083d6.tar.gz
taler-android-3a12b1cc53f832e943b4825e132db6fe8ee083d6.tar.bz2
taler-android-3a12b1cc53f832e943b4825e132db6fe8ee083d6.zip
[pos] Bump protocol version to 3.0.1
-rw-r--r--merchant-terminal/src/main/java/net/taler/merchantpos/config/ConfigManager.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/merchant-terminal/src/main/java/net/taler/merchantpos/config/ConfigManager.kt b/merchant-terminal/src/main/java/net/taler/merchantpos/config/ConfigManager.kt
index 4327f4e..8986fc0 100644
--- a/merchant-terminal/src/main/java/net/taler/merchantpos/config/ConfigManager.kt
+++ b/merchant-terminal/src/main/java/net/taler/merchantpos/config/ConfigManager.kt
@@ -52,7 +52,7 @@ internal const val CONFIG_URL_DEMO = "https://docs.taler.net/_static/sample-pos-
internal const val CONFIG_USERNAME_DEMO = ""
internal const val CONFIG_PASSWORD_DEMO = ""
-private val VERSION = Version(1, 0, 0)
+private val VERSION = Version(3, 0, 1)
private val TAG = ConfigManager::class.java.simpleName
@@ -137,6 +137,7 @@ class ConfigManager(
val versionIncompatible =
VERSION.getIncompatibleStringOrNull(context, configResponse.version)
if (versionIncompatible != null) {
+ Log.e(TAG, "Versions incompatible $configResponse")
mConfigUpdateResult.postValue(ConfigUpdateResult.Error(versionIncompatible))
return
}