From e05780b4d04a87a43136e05a5cfb0e392406c4ab Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 5 Dec 2024 22:04:53 +0100 Subject: [PATCH 1/4] feat: update version number to 5.0.6 --- Assets/Adjust/Scripts/AdjustAndroid.cs | 2 +- Assets/Adjust/Scripts/AdjustiOS.cs | 2 +- Assets/Adjust/package.json | 2 +- VERSION | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Adjust/Scripts/AdjustAndroid.cs b/Assets/Adjust/Scripts/AdjustAndroid.cs index 3c3917c9..16f9a8f7 100644 --- a/Assets/Adjust/Scripts/AdjustAndroid.cs +++ b/Assets/Adjust/Scripts/AdjustAndroid.cs @@ -8,7 +8,7 @@ namespace AdjustSdk #if UNITY_ANDROID public class AdjustAndroid { - private const string sdkPrefix = "unity5.0.5"; + private const string sdkPrefix = "unity5.0.6"; private static bool isDeferredDeeplinkOpeningEnabled = 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/Scripts/AdjustiOS.cs b/Assets/Adjust/Scripts/AdjustiOS.cs index 9c899c90..dfb7c3b9 100644 --- a/Assets/Adjust/Scripts/AdjustiOS.cs +++ b/Assets/Adjust/Scripts/AdjustiOS.cs @@ -8,7 +8,7 @@ namespace AdjustSdk #if UNITY_IOS public class AdjustiOS { - private const string sdkPrefix = "unity5.0.5"; + private const string sdkPrefix = "unity5.0.6"; // app callbacks as method parameters private static List> appIsEnabledGetterCallbacks; diff --git a/Assets/Adjust/package.json b/Assets/Adjust/package.json index 3d7ecfbc..324aa7e4 100644 --- a/Assets/Adjust/package.json +++ b/Assets/Adjust/package.json @@ -1,6 +1,6 @@ { "name": "com.adjust.sdk", - "version": "5.0.5", + "version": "5.0.6", "unity": "2019.4", "displayName": "Adjust", "license": "MIT", diff --git a/VERSION b/VERSION index ab0fa336..c20c645d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.5 +5.0.6 From 163da95dbfbc6209bb7fadedc46dcd517c7e0bd7 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 5 Dec 2024 22:05:22 +0100 Subject: [PATCH 2/4] build: update native android sdk dependency to 5.0.2 --- Assets/Adjust/Native/Editor/Dependencies.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Adjust/Native/Editor/Dependencies.xml b/Assets/Adjust/Native/Editor/Dependencies.xml index c6820b9d..2dcd2b2c 100644 --- a/Assets/Adjust/Native/Editor/Dependencies.xml +++ b/Assets/Adjust/Native/Editor/Dependencies.xml @@ -1,7 +1,7 @@ - + From 724e55252fe4d07e2a350a20cf26935d4ffdef43 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 5 Dec 2024 22:06:53 +0100 Subject: [PATCH 3/4] refac: clean up unused methods from the api --- Assets/Adjust/Scripts/Adjust.cs | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/Assets/Adjust/Scripts/Adjust.cs b/Assets/Adjust/Scripts/Adjust.cs index 34eb4bc2..b688104d 100644 --- a/Assets/Adjust/Scripts/Adjust.cs +++ b/Assets/Adjust/Scripts/Adjust.cs @@ -171,38 +171,6 @@ public static void Disable() #endif } - public static void EnablePlayStoreKidsApp() - { - if (IsEditor()) - { - return; - } - -#if UNITY_IOS - Debug.Log("[Adjust]: Marking apps as Play Store kids app is only supported for Android platform."); -#elif UNITY_ANDROID - AdjustAndroid.EnablePlayStoreKidsApp(); -#else - Debug.Log(errorMsgPlatform); -#endif - } - - public static void DisablePlayStoreKidsApp() - { - if (IsEditor()) - { - return; - } - -#if UNITY_IOS - Debug.Log("[Adjust]: Marking apps as Play Store kids app is only supported for Android platform."); -#elif UNITY_ANDROID - AdjustAndroid.DisablePlayStoreKidsApp(); -#else - Debug.Log(errorMsgPlatform); -#endif - } - public static void IsEnabled(Action callback) { if (IsEditor()) From 18aa826de2e0412e320736d41be1eb7c78280ba5 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 5 Dec 2024 22:50:03 +0100 Subject: [PATCH 4/4] docs: update changelog --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff2f4490..52b052a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +### Version 5.0.6 (5th December 2024) +#### Fixed +- Cleaned up unused methods from the API. + +#### Changed +- Switched to native Android SDK version that depends on a specific version of the signature library. + +#### Native SDKs +- [iOS@v5.0.1][ios_sdk_v5.0.1] +- [Android@v5.0.2][android_sdk_v5.0.2] + +--- + ### Version 5.0.5 (24th October 2024) #### Fixed - Tagged the version which is now having submodules pointing to public repositories allowing OpenUPM to properly clone this repository (https://github.com/adjust/unity_sdk/issues/314). @@ -1395,6 +1408,7 @@ Kudos to [Ivan](https://github.com/MatkovIvan) and [Evgeny](https://github.com/e [android_sdk_v4.38.3]: https://github.com/adjust/android_sdk/tree/v4.38.3 [android_sdk_v5.0.0]: https://github.com/adjust/android_sdk/tree/v5.0.0 [android_sdk_v5.0.1]: https://github.com/adjust/android_sdk/tree/v5.0.1 +[android_sdk_v5.0.2]: https://github.com/adjust/android_sdk/tree/v5.0.2 [windows_sdk_v4.12.0]: https://github.com/adjust/windows_sdk/tree/v4.12.0 [windows_sdk_v4.13.0]: https://github.com/adjust/windows_sdk/tree/v4.13.0