Skip to content

Commit

Permalink
[hot-fix-20-11-1] IOS ID generation issue (#102)
Browse files Browse the repository at this point in the history
* device id generation fix

* device id generation

* Change log update

* PR Changes

* SDK version updated to 20.11.1

Co-authored-by: Zahid Zafar <>
  • Loading branch information
ZahidZafar authored May 25, 2021
1 parent 2118b9d commit ee156ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Assets/Plugins/CountlySDK/CountlyUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/CountlySDK/Helpers/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,4 +18,4 @@
* Removed Unity Mobile Notifications Plugin
* Renamed Crash Reporting interface

* Fixed undesired request queue behaviour
* Fixed undesired request queue behaviour

0 comments on commit ee156ed

Please sign in to comment.