From ee156eddd00a82842d0b0f163598a31353b61d3d Mon Sep 17 00:00:00 2001 From: Zahid Zafar Date: Tue, 25 May 2021 16:41:00 +0500 Subject: [PATCH] [hot-fix-20-11-1] IOS ID generation issue (#102) * device id generation fix * device id generation * Change log update * PR Changes * SDK version updated to 20.11.1 Co-authored-by: Zahid Zafar <> --- Assets/Plugins/CountlySDK/CountlyUtils.cs | 4 ---- Assets/Plugins/CountlySDK/Helpers/Constants.cs | 2 +- CHANGELOG.md | 5 ++++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Assets/Plugins/CountlySDK/CountlyUtils.cs b/Assets/Plugins/CountlySDK/CountlyUtils.cs index f3bc9b45..874553ef 100644 --- a/Assets/Plugins/CountlySDK/CountlyUtils.cs +++ b/Assets/Plugins/CountlySDK/CountlyUtils.cs @@ -19,11 +19,7 @@ public CountlyUtils(Countly countly) public string GetUniqueDeviceId() { -#if UNITY_IOS - return UnityEngine.iOS.Device.advertisingIdentifier; -#else return UnityEngine.SystemInfo.deviceUniqueIdentifier; -#endif } /// diff --git a/Assets/Plugins/CountlySDK/Helpers/Constants.cs b/Assets/Plugins/CountlySDK/Helpers/Constants.cs index 91e89e43..597dc3cc 100644 --- a/Assets/Plugins/CountlySDK/Helpers/Constants.cs +++ b/Assets/Plugins/CountlySDK/Helpers/Constants.cs @@ -3,7 +3,7 @@ namespace Plugins.CountlySDK.Helpers { internal class Constants { - public const string SdkVersion = "20.11.0"; + public const string SdkVersion = "20.11.1"; #if UNITY_EDITOR public const string SdkName = "csharp-unity-editor"; diff --git a/CHANGELOG.md b/CHANGELOG.md index 8828bb14..3931998c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 20.11.1 +* Fixed ID generation issue for iOS devices. Now SDK using 'SystemInfo.deviceUniqueIdentifier' instead 'Device.advertisingIdentifier' + ## 20.11.0 * Added Sample App * Added test mode feature @@ -15,4 +18,4 @@ * Removed Unity Mobile Notifications Plugin * Renamed Crash Reporting interface -* Fixed undesired request queue behaviour \ No newline at end of file +* Fixed undesired request queue behaviour