From 62da065f1006f85cbe8a7a9854bfedbf850ad343 Mon Sep 17 00:00:00 2001 From: Tom Blum Date: Mon, 17 May 2021 19:21:13 +0200 Subject: [PATCH] fixed: iCloud response invalid: null changed: appVersion from 2.0 to 3.0 added: missing productType Signed-off-by: Tom Blum --- .../internal/json/request/ICloudAccountDataRequest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.icloud/src/main/java/org/openhab/binding/icloud/internal/json/request/ICloudAccountDataRequest.java b/bundles/org.openhab.binding.icloud/src/main/java/org/openhab/binding/icloud/internal/json/request/ICloudAccountDataRequest.java index 0c4b453efa571..10e58c984d4e1 100644 --- a/bundles/org.openhab.binding.icloud/src/main/java/org/openhab/binding/icloud/internal/json/request/ICloudAccountDataRequest.java +++ b/bundles/org.openhab.binding.icloud/src/main/java/org/openhab/binding/icloud/internal/json/request/ICloudAccountDataRequest.java @@ -39,7 +39,7 @@ public static class ClientContext { @SuppressWarnings("unused") private boolean fmly = true; @SuppressWarnings("unused") - private String appVersion = "2.0"; + private String appVersion = "3.0"; @SuppressWarnings("unused") private String timezone = "US/Eastern"; @SuppressWarnings("unused") @@ -48,6 +48,8 @@ public static class ClientContext { private String apiVersion = "3.0"; @SuppressWarnings("unused") private String webStats = "0:15"; + @SuppressWarnings("unused") + private String productType = "iPhone6,1"; private ClientContext() { // empty to hide constructor