From 531b0c6bff41fc792a5c1f1f4ea0207bdcae69f8 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 10:00:49 +0200 Subject: [PATCH 1/6] build: update native submodules --- ext/ios/sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ios/sdk b/ext/ios/sdk index c4197183..5a487935 160000 --- a/ext/ios/sdk +++ b/ext/ios/sdk @@ -1 +1 @@ -Subproject commit c419718364e9f360c602a17a64b91c591f33fe6a +Subproject commit 5a48793570916c6379696a9c16edb6e93939ce9e From d2607e61f98f74f51b259df7046797b5e87c235d Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 10:01:42 +0200 Subject: [PATCH 2/6] feat: update version number to 5.0.5 --- 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 4f24d42d..75fcc479 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.4"; + private const string sdkPrefix = "unity5.0.5"; 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 60922d52..9c899c90 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.4"; + private const string sdkPrefix = "unity5.0.5"; // app callbacks as method parameters private static List> appIsEnabledGetterCallbacks; diff --git a/Assets/Adjust/package.json b/Assets/Adjust/package.json index 97284f9d..3d7ecfbc 100644 --- a/Assets/Adjust/package.json +++ b/Assets/Adjust/package.json @@ -1,6 +1,6 @@ { "name": "com.adjust.sdk", - "version": "5.0.4", + "version": "5.0.5", "unity": "2019.4", "displayName": "Adjust", "license": "MIT", diff --git a/VERSION b/VERSION index 2d6c0bcf..ab0fa336 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.4 +5.0.5 From e22a71a7d354f49a6cac91241247eb95353bfb2c Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 10:17:00 +0200 Subject: [PATCH 3/6] fix: switch to properly renamed native android suppress log level enum --- Assets/Adjust/Scripts/AdjustAndroid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Adjust/Scripts/AdjustAndroid.cs b/Assets/Adjust/Scripts/AdjustAndroid.cs index 75fcc479..3c3917c9 100644 --- a/Assets/Adjust/Scripts/AdjustAndroid.cs +++ b/Assets/Adjust/Scripts/AdjustAndroid.cs @@ -57,7 +57,7 @@ public static void InitSdk(AdjustConfig adjustConfig) AndroidJavaObject ajoLogLevel; if (adjustConfig.LogLevel.Value.ToUppercaseString().Equals("SUPPRESS")) { - ajoLogLevel = new AndroidJavaClass("com.adjust.sdk.LogLevel").GetStatic("SUPRESS"); + ajoLogLevel = new AndroidJavaClass("com.adjust.sdk.LogLevel").GetStatic("SUPPRESS"); } else { From d4a28136cc455882186ca5a2ffb8f210466d48d7 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 10:54:12 +0200 Subject: [PATCH 4/6] docs: update changelog --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25e0b356..7b4d6ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### Version 5.0.5 (24th October 2024) +#### Fixed +- Fixed issue introduced with Unity SDK v5.0.4 where the old name of native Android log level enum was being referenced (https://github.com/adjust/unity_sdk/issues/316). +- 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). + +#### Native SDKs +- [iOS@v5.0.1][ios_sdk_v5.0.1] +- [Android@v5.0.1][android_sdk_v5.0.1] + +--- + ### Version 5.0.4 (18th October 2024) #### Changed - Updated minimal supported Unity version to `2018.2`. From 5271538f2700c96668efd602bee12962b9911532 Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 13:26:47 +0200 Subject: [PATCH 5/6] fix: handle cases where ios build support is not installed --- Assets/Adjust/Scripts/Editor/AdjustEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Adjust/Scripts/Editor/AdjustEditor.cs b/Assets/Adjust/Scripts/Editor/AdjustEditor.cs index ba1e1fbf..7c5aea44 100644 --- a/Assets/Adjust/Scripts/Editor/AdjustEditor.cs +++ b/Assets/Adjust/Scripts/Editor/AdjustEditor.cs @@ -9,10 +9,10 @@ using UnityEditor.Callbacks; #if UNITY_IOS using UnityEditor.iOS.Xcode; -#endif #if UNITY_2019_3_OR_NEWER using UnityEditor.iOS.Xcode.Extensions; #endif +#endif namespace AdjustSdk { From 36f5f0a26f924b76c71a0b9de07685b9b83faabb Mon Sep 17 00:00:00 2001 From: uerceg Date: Thu, 24 Oct 2024 14:06:44 +0200 Subject: [PATCH 6/6] docs: update changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b4d6ebb..ff2f4490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ ### Version 5.0.5 (24th October 2024) #### Fixed -- Fixed issue introduced with Unity SDK v5.0.4 where the old name of native Android log level enum was being referenced (https://github.com/adjust/unity_sdk/issues/316). - 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). +- Fixed issue introduced with Unity SDK v5.0.4 where the old name of native Android log level enum was being referenced (https://github.com/adjust/unity_sdk/issues/316). +- Fixed error being thrown because of Adjust editor script in cases where iOS Build Support Unity module was not installed (https://github.com/adjust/unity_sdk/issues/317). #### Native SDKs - [iOS@v5.0.1][ios_sdk_v5.0.1]