From b69c76395f4653c88e901ccac38b03fa74939485 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 11 Feb 2021 17:39:42 +0100 Subject: [PATCH 1/5] fix ambiguous error reported in some Unity IDE versions --- Assets/Adjust/Android/AdjustAndroid.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Adjust/Android/AdjustAndroid.cs b/Assets/Adjust/Android/AdjustAndroid.cs index 4d3007b9..c3d81357 100644 --- a/Assets/Adjust/Android/AdjustAndroid.cs +++ b/Assets/Adjust/Android/AdjustAndroid.cs @@ -469,7 +469,8 @@ public static void TrackThirdPartySharing(AdjustThirdPartySharing thirdPartyShar } else { - ajoAdjustThirdPartySharing = new AndroidJavaObject("com.adjust.sdk.AdjustThirdPartySharing", null); + string[] parameters = null; + ajoAdjustThirdPartySharing = new AndroidJavaObject("com.adjust.sdk.AdjustThirdPartySharing", parameters); } if (thirdPartySharing.granularOptions != null) From 97623746a67877ab7e3c02a4aaade6419b1d6448 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 11 Feb 2021 17:41:14 +0100 Subject: [PATCH 2/5] update version number to 4.26.1 --- Assets/Adjust/Android/AdjustAndroid.cs | 2 +- Assets/Adjust/Windows/AdjustWindows.cs | 2 +- Assets/Adjust/iOS/AdjustiOS.cs | 2 +- VERSION | 2 +- doc/english/migration/migrate.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/Adjust/Android/AdjustAndroid.cs b/Assets/Adjust/Android/AdjustAndroid.cs index c3d81357..904560c9 100644 --- a/Assets/Adjust/Android/AdjustAndroid.cs +++ b/Assets/Adjust/Android/AdjustAndroid.cs @@ -8,7 +8,7 @@ namespace com.adjust.sdk #if UNITY_ANDROID public class AdjustAndroid { - private const string sdkPrefix = "unity4.26.0"; + private const string sdkPrefix = "unity4.26.1"; private static bool launchDeferredDeeplink = true; private static AndroidJavaClass ajcAdjust = new AndroidJavaClass("com.adjust.sdk.Adjust"); private static AndroidJavaObject ajoCurrentActivity = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic("currentActivity"); diff --git a/Assets/Adjust/Windows/AdjustWindows.cs b/Assets/Adjust/Windows/AdjustWindows.cs index 2720cbad..46a7db06 100644 --- a/Assets/Adjust/Windows/AdjustWindows.cs +++ b/Assets/Adjust/Windows/AdjustWindows.cs @@ -17,7 +17,7 @@ namespace com.adjust.sdk { public class AdjustWindows { - private const string sdkPrefix = "unity4.26.0"; + private const string sdkPrefix = "unity4.26.1"; private static bool appLaunched = false; public static void Start(AdjustConfig adjustConfig) diff --git a/Assets/Adjust/iOS/AdjustiOS.cs b/Assets/Adjust/iOS/AdjustiOS.cs index 5b9baed2..8887c5f5 100644 --- a/Assets/Adjust/iOS/AdjustiOS.cs +++ b/Assets/Adjust/iOS/AdjustiOS.cs @@ -8,7 +8,7 @@ namespace com.adjust.sdk #if UNITY_IOS public class AdjustiOS { - private const string sdkPrefix = "unity4.26.0"; + private const string sdkPrefix = "unity4.26.1"; [DllImport("__Internal")] private static extern void _AdjustLaunchApp( diff --git a/VERSION b/VERSION index 06edb387..b02da5e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.26.0 +4.26.1 diff --git a/doc/english/migration/migrate.md b/doc/english/migration/migrate.md index 7620b703..26a7e493 100644 --- a/doc/english/migration/migrate.md +++ b/doc/english/migration/migrate.md @@ -1,4 +1,4 @@ -## Migrate your Adjust SDK for Unity3d to 4.26.0 from 3.4.4 +## Migrate your Adjust SDK for Unity3d to 4.26.1 from 3.4.4 ### Migration procedure From 688fbd1412497c264e8a394c6ac0b4d822e88f3f Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 11 Feb 2021 17:42:56 +0100 Subject: [PATCH 3/5] update CHANGELOG --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d19b4a4e..218c1d45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### Version 4.26.1 (11th February 2021) +#### Fixed +- Fixed ambiguous API invocation error in certain Unity IDE setups. + +#### Native SDKs +- [iOS@v4.26.2][ios_sdk_v4.26.2] +- [Android@v4.26.1][android_sdk_v4.26.1] +- [Windows@v4.17.0][windows_sdk_v4.17.0] + +--- + ### Version 4.26.0 (11th February 2021) #### Added - Added support for Apple Search Ads attribution with usage of `AdServices.framework`. From 66b3f8aa1610d905b2248304f3abbdbfa053087d Mon Sep 17 00:00:00 2001 From: uerceg Date: Fri, 12 Feb 2021 12:44:14 +0100 Subject: [PATCH 4/5] update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 017e1c57..e195a972 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,7 @@ This process is performed by the `OnPostprocessBuild` method in `AdjustEditor.cs To execute the iOS post-build process properly, use Unity 5 or later and have `iOS build support` installed. The iOS post-build process makes the following changes to your generated Xcode project: - Adds the `iAd.framework` (needed for Apple Search Ads tracking) +- Adds the `AdServices.framework` (needed for Apple Search Ads tracking) - Adds the `AdSupport.framework` (needed for reading IDFA) - Adds the `CoreTelephony.framework` (needed for reading type of network device is connected to) - Adds the other linker flag `-ObjC` (needed to recognize Adjust Objective-C categories during build time) From caf1c4cca20d4342de62121812a41445b99a214f Mon Sep 17 00:00:00 2001 From: uerceg Date: Fri, 12 Feb 2021 12:44:20 +0100 Subject: [PATCH 5/5] update CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 218c1d45..9da5045f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### Version 4.26.1 (11th February 2021) +### Version 4.26.1 (12th February 2021) #### Fixed - Fixed ambiguous API invocation error in certain Unity IDE setups.