Skip to content

Commit d30ec09

Browse files
authored
Merge pull request #329 from adjust/v512
Version 5.1.2
2 parents 21fcef5 + 9f94574 commit d30ec09

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

Assets/Adjust/Scripts/AdjustAndroid.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace AdjustSdk
88
#if UNITY_ANDROID
99
public class AdjustAndroid
1010
{
11-
private const string sdkPrefix = "unity5.1.1";
11+
private const string sdkPrefix = "unity5.1.2";
1212
private static bool isDeferredDeeplinkOpeningEnabled = true;
1313
private static AndroidJavaClass ajcAdjust = new AndroidJavaClass("com.adjust.sdk.Adjust");
1414
private static AndroidJavaObject ajoCurrentActivity = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic<AndroidJavaObject>("currentActivity");

Assets/Adjust/Scripts/AdjustiOS.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace AdjustSdk
88
#if UNITY_IOS
99
public class AdjustiOS
1010
{
11-
private const string sdkPrefix = "unity5.1.1";
11+
private const string sdkPrefix = "unity5.1.2";
1212

1313
// app callbacks as method parameters
1414
private static List<Action<bool>> appIsEnabledGetterCallbacks;

Assets/Adjust/Scripts/Editor/AdjustEditor.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,11 @@ private static PlistElementDict CreatePlistElementDict(PlistElementArray rootArr
310310

311311
private static void AddUniversalLinkDomains(PBXProject project, string xCodeProjectPath, string xCodeTarget)
312312
{
313-
string entitlementsFileName = "Unity-iPhone.entitlements";
313+
string entitlementsFileName = project.GetBuildPropertyForAnyConfig(xCodeTarget, "CODE_SIGN_ENTITLEMENTS");
314+
if (entitlementsFileName == null)
315+
{
316+
entitlementsFileName = "Unity-iPhone.entitlements";
317+
}
314318

315319
Debug.Log("[Adjust]: Adding associated domains to entitlements file.");
316320
#if UNITY_2019_3_OR_NEWER

Assets/Adjust/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.adjust.sdk",
3-
"version": "5.1.1",
3+
"version": "5.1.2",
44
"unity": "2019.4",
55
"displayName": "Adjust",
66
"license": "MIT",

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
### Version 5.1.2 (March 6th 2025)
2+
#### Added
3+
- Added support for custom `CODE_SIGN_ENTITLEMENTS` file name (https://github.com/adjust/unity_sdk/pull/327).
4+
5+
#### Native SDKs
6+
- [[email protected]][ios_sdk_v5.1.1]
7+
- [[email protected]][android_sdk_v5.1.0]
8+
9+
---
10+
111
### Version 5.1.1 (March 5th 2025)
212
#### Fixed
313
- Added missing null checks for native `jsonResponse` fields (https://github.com/adjust/flutter_sdk/pull/160).

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.1
1+
5.1.2

0 commit comments

Comments
 (0)