From e525b3e77bac5599ac9becd4d9b1e737c9dfe8a3 Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Thu, 19 Sep 2019 12:58:16 +0500 Subject: [PATCH 1/7] Add XS series --- MatomoTracker/Device.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index 9432b64b..939e58bd 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -88,6 +88,10 @@ extension Device { case "iPhone10,4": return "iPhone 8 (Global)" case "iPhone10,5": return "iPhone 8 Plus (Global)" case "iPhone10,6": return "iPhone X (Global)" + case "iPhone11,2": return "iPhone XS" + case "iPhone11,4": return "iPhone XS Max" + case "iPhone11,6": return "iPhone XS Max (Global)" + case "iPhone11,8": return "iPhone XR" // iPod case "iPod1,1": return "iPod Touch 1G" From d929d69f1059f88f323f7747424fb2977295523e Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Thu, 19 Sep 2019 12:59:14 +0500 Subject: [PATCH 2/7] Update ipod section --- MatomoTracker/Device.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index 939e58bd..90b9602a 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -100,6 +100,7 @@ extension Device { case "iPod4,1": return "iPod Touch 4G" case "iPod5,1": return "iPod Touch 5G" case "iPod7,1": return "iPod Touch 6G" + case "iPod9,1": return "iPod Touch 7G" // iPad case "iPad1,1": return "iPad 1" From 926b00ebfaf155c87bdfae5470cc4d6dd2ad858f Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Thu, 19 Sep 2019 13:13:52 +0500 Subject: [PATCH 3/7] Update iPad section --- MatomoTracker/Device.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index 90b9602a..d6253602 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -134,6 +134,26 @@ extension Device { case "iPad6,4": return "iPad Pro 9.7 (Cellular)" case "iPad6,7": return "iPad Pro 12.9 (WiFi)" case "iPad6,8": return "iPad Pro 12.9 (Cellular)" + case "iPad6,11": return "iPad 5G (A1822)" + case "iPad6,12": return "iPad 5G (A1823)" + case "iPad7,1": return "iPad Pro 2G (WiFi)" + case "iPad7,2": return "iPad Pro 2G (Cellular)" + case "iPad7,3": return "iPad Pro 10.5 (A1701)" + case "iPad7,4": return "iPad Pro 10.5 (A1709)" + case "iPad7,5": return "iPad 6G (WiFi)" + case "iPad7,6": return "iPad 6G (Cellular)" + case "iPad8,1": return "iPad Pro 3G 11 (WiFi)" + case "iPad8,2": return "iPad Pro 3G 11 (1TB, WiFi)" + case "iPad8,3": return "iPad Pro 3G 11 (Cellular)" + case "iPad8,4": return "iPad Pro 3G (1TB, Cellular)" + case "iPad8,5": return "iPad Pro 3G 12.9 (WiFi)" + case "iPad8,6": return "iPad Pro 3G 12.9 (1TB, WiFi)" + case "iPad8,7": return "iPad Pro 3G 12.9 (Cellular)" + case "iPad8,8": return "iPad Pro 3G 12.9 (1TB, Cellular)" + case "iPad11,1": return "iPad mini 5G (WiFi)" + case "iPad11,2": return "iPad mini 5G" + case "iPad11,3": return "iPad Air 3G (WiFi)" + case "iPad11,4": return "iPad Air 3G" // Apple Watch case "Watch1,1": return "Apple Watch 38mm" From 4e7b81c819ba607dee47232a287a5f552280d96d Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Thu, 19 Sep 2019 13:19:41 +0500 Subject: [PATCH 4/7] Update Apple Watch Section --- MatomoTracker/Device.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index d6253602..8645d0c0 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -162,6 +162,14 @@ extension Device { case "Watch2,4": return "Apple Watch 42mm (Series 2)" case "Watch2,6": return "Apple Watch 38mm (Series 1)" case "Watch2,7": return "Apple Watch 42mm (Series 1)" + case "Watch3,1": return "Apple Watch Series 38mm (Series 3, Cellular)" + case "Watch3,2": return "Apple Watch 42mm (Series 3, Cellular)" + case "Watch3,3": return "Apple Watch 38mm (Series 3, GPS)" + case "Watch3,4": return "Apple Watch 42mm (Series 3, GPS)" + case "Watch4,1": return "Apple Watch 40mm (Series 4, GPS)" + case "Watch4,2": return "Apple Watch 44mm (Series 4, GPS)" + case "Watch4,3": return "Apple Watch 40mm (Series 4, Cellular)" + case "Watch4,4": return "Apple Watch 44mm (Series 4, Cellular)" // Apple TV case "AppleTV2,1": return "Apple TV 2G" From 72c20948a6e081f66b14b8952c551cb151559b4c Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Thu, 19 Sep 2019 14:59:33 +0500 Subject: [PATCH 5/7] Update Apple TV section --- MatomoTracker/Device.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index 8645d0c0..0816169e 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -176,6 +176,7 @@ extension Device { case "AppleTV3,1": return "Apple TV 3G" case "AppleTV3,2": return "Apple TV 3G (2013)" case "AppleTV5,3": return "Apple TV 4G" + case "AppleTV6,2": return "Apple TV 4K" case "i386": return "Simulator" case "x86_64": return "Simulator" From 8c5a8d15e3395c946c797a48098d3a3de472220d Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Mon, 23 Sep 2019 13:04:02 +0500 Subject: [PATCH 6/7] Add iPhone 11 series --- MatomoTracker/Device.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MatomoTracker/Device.swift b/MatomoTracker/Device.swift index 0816169e..a7aa7a93 100644 --- a/MatomoTracker/Device.swift +++ b/MatomoTracker/Device.swift @@ -92,6 +92,9 @@ extension Device { case "iPhone11,4": return "iPhone XS Max" case "iPhone11,6": return "iPhone XS Max (Global)" case "iPhone11,8": return "iPhone XR" + case "iPhone12,1": return "iPhone 11" + case "iPhone12,3": return "iPhone 11 Pro" + case "iPhone12,5": return "iPhone 11 Pro Max" // iPod case "iPod1,1": return "iPod Touch 1G" From 5f5979013ff9219d34aeb93ea933bb101b75f32d Mon Sep 17 00:00:00 2001 From: Scherbinin Andrey Date: Mon, 23 Sep 2019 13:09:01 +0500 Subject: [PATCH 7/7] Update changelog.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b93fc5c..e6272b08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 7.0.2 +* **improvement** Added new devices info [#321](https://github.com/matomo-org/matomo-sdk-ios/pull/321) + ## 7.0.1 * **bugfix** Fixed an issue with a new `forcedVisitorId` value validation. [#315](https://github.com/matomo-org/matomo-sdk-ios/pull/315)