Skip to content

Commit c2e4b5d

Browse files
authored
Merge pull request #220 from adjust/v4291
Version 4.29.1
2 parents d37eaec + 34cd3e1 commit c2e4b5d

File tree

15 files changed

+45
-12
lines changed

15 files changed

+45
-12
lines changed

Assets/Adjust/Android/AdjustAndroid.cs

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace com.adjust.sdk
88
#if UNITY_ANDROID
99
public class AdjustAndroid
1010
{
11-
private const string sdkPrefix = "unity4.29.0";
11+
private const string sdkPrefix = "unity4.29.1";
1212
private static bool launchDeferredDeeplink = 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");
@@ -145,6 +145,11 @@ public static void Start(AdjustConfig adjustConfig)
145145
AndroidJavaObject ajoDataResidencyTR = new AndroidJavaClass("com.adjust.sdk.AdjustConfig").GetStatic<AndroidJavaObject>("DATA_RESIDENCY_TR");
146146
ajoAdjustConfig.Call("setUrlStrategy", ajoDataResidencyTR);
147147
}
148+
else if (adjustConfig.urlStrategy == AdjustConfig.AdjustDataResidencyUS)
149+
{
150+
AndroidJavaObject ajoDataResidencyUS = new AndroidJavaClass("com.adjust.sdk.AdjustConfig").GetStatic<AndroidJavaObject>("DATA_RESIDENCY_US");
151+
ajoAdjustConfig.Call("setUrlStrategy", ajoDataResidencyUS);
152+
}
148153
}
149154

150155
// Check if user has set app secret.
421 Bytes
Binary file not shown.

Assets/Adjust/Unity/AdjustConfig.cs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class AdjustConfig
99

1010
public const string AdjustDataResidencyEU = "data-residency-eu";
1111
public const string AdjustDataResidencyTR = "data-residency-tr";
12+
public const string AdjustDataResidencyUS = "data-residency-us";
1213

1314
public const string AdjustAdRevenueSourceAppLovinMAX = "applovin_max_sdk";
1415
public const string AdjustAdRevenueSourceMopub = "mopub";

Assets/Adjust/Windows/AdjustWindows.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace com.adjust.sdk
1717
{
1818
public class AdjustWindows
1919
{
20-
private const string sdkPrefix = "unity4.29.0";
20+
private const string sdkPrefix = "unity4.29.1";
2121
private static bool appLaunched = false;
2222

2323
public static void Start(AdjustConfig adjustConfig)

Assets/Adjust/iOS/Adjust.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Adjust.h
33
// Adjust SDK
44
//
5-
// V4.29.0
5+
// V4.29.2
66
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
77
// Copyright (c) 2012-2021 Adjust GmbH. All rights reserved.
88
//
@@ -55,6 +55,7 @@ extern NSString * __nonnull const ADJUrlStrategyIndia;
5555
extern NSString * __nonnull const ADJUrlStrategyChina;
5656
extern NSString * __nonnull const ADJDataResidencyEU;
5757
extern NSString * __nonnull const ADJDataResidencyTR;
58+
extern NSString * __nonnull const ADJDataResidencyUS;
5859

5960
/**
6061
* @brief The main interface to Adjust.

Assets/Adjust/iOS/AdjustSdk.a

21.6 KB
Binary file not shown.

Assets/Adjust/iOS/AdjustUnity.mm

+2
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ void _AdjustLaunchApp(const char* appToken,
234234
[adjustConfig setUrlStrategy:ADJDataResidencyEU];
235235
} else if ([stringUrlStrategy isEqualToString:@"data-residency-tr"]) {
236236
[adjustConfig setUrlStrategy:ADJDataResidencyTR];
237+
} else if ([stringUrlStrategy isEqualToString:@"data-residency-us"]) {
238+
[adjustConfig setUrlStrategy:ADJDataResidencyUS];
237239
}
238240
}
239241

Assets/Adjust/iOS/AdjustiOS.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace com.adjust.sdk
88
#if UNITY_IOS
99
public class AdjustiOS
1010
{
11-
private const string sdkPrefix = "unity4.29.0";
11+
private const string sdkPrefix = "unity4.29.1";
1212

1313
[DllImport("__Internal")]
1414
private static extern void _AdjustLaunchApp(
Binary file not shown.

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
### Version 4.29.1 (13th May 2021)
2+
#### Added
3+
- [beta] Added data residency support for US region. You can choose this setting by calling `setUrlStrategy` method of `AdjustConfig` instance with `AdjustConfig.AdjustDataResidencyUS` parameter.
4+
5+
#### Fixed
6+
- Removed 5 decimal places formatting for ad revenue value.
7+
8+
#### Native SDKs
9+
- [[email protected]][ios_sdk_v4.29.2]
10+
- [[email protected]][android_sdk_v4.28.1]
11+
- [[email protected]][windows_sdk_v4.17.0]
12+
13+
---
14+
115
### Version 4.29.0 (27th April 2021)
216
#### Added
317
- Added `conversionValueUpdatedDelegate` callback to `AdjustConfig` which can be used to get information when Adjust SDK updates conversion value for the user.
@@ -8,6 +22,11 @@
822
#### Changed
923
- Removed unused ad revenue constants.
1024

25+
#### Native SDKs
26+
- [[email protected]][ios_sdk_v4.29.0]
27+
- [[email protected]][android_sdk_v4.28.0]
28+
- [[email protected]][windows_sdk_v4.17.0]
29+
1130
---
1231

1332
### Version 4.28.0 (1th April 2021)
@@ -892,6 +911,8 @@
892911
[ios_sdk_v4.26.2]: https://github.com/adjust/ios_sdk/tree/v4.26.2
893912
[ios_sdk_v4.27.1]: https://github.com/adjust/ios_sdk/tree/v4.27.1
894913
[ios_sdk_v4.28.0]: https://github.com/adjust/ios_sdk/tree/v4.28.0
914+
[ios_sdk_v4.29.0]: https://github.com/adjust/ios_sdk/tree/v4.29.0
915+
[ios_sdk_v4.29.2]: https://github.com/adjust/ios_sdk/tree/v4.29.2
895916

896917
[android_sdk_v3.5.0]: https://github.com/adjust/android_sdk/tree/v3.5.0
897918
[android_sdk_v4.1.0]: https://github.com/adjust/android_sdk/tree/v4.1.0
@@ -924,6 +945,8 @@
924945
[android_sdk_v4.25.0]: https://github.com/adjust/android_sdk/tree/v4.25.0
925946
[android_sdk_v4.26.1]: https://github.com/adjust/android_sdk/tree/v4.26.1
926947
[android_sdk_v4.27.0]: https://github.com/adjust/android_sdk/tree/v4.27.0
948+
[android_sdk_v4.28.0]: https://github.com/adjust/android_sdk/tree/v4.28.0
949+
[android_sdk_v4.28.1]: https://github.com/adjust/android_sdk/tree/v4.28.1
927950

928951
[windows_sdk_v4.12.0]: https://github.com/adjust/windows_sdk/tree/v4.12.0
929952
[windows_sdk_v4.13.0]: https://github.com/adjust/windows_sdk/tree/v4.13.0

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1171,11 +1171,12 @@ Upon receiving this information, Adjust changes sharing the specific user's data
11711171

11721172
### <a id="ad-data-residency"></a>[beta] Data residency
11731173

1174-
In order to enable data residency feature, make sure to make a call to `setUrlStrategy:` method of the `ADJConfig` instance with one of the following constants:
1174+
In order to enable data residency feature, make sure to make a call to `setUrlStrategy` method of the `AdjustConfig` instance with one of the following constants:
11751175

11761176
```objc
11771177
adjustConfig.setUrlStrategy(AdjustConfig.AdjustDataResidencyEU); // for EU data residency region
11781178
adjustConfig.setUrlStrategy(AdjustConfig.AdjustDataResidencyTR); // for Turkey data residency region
1179+
adjustConfig.setUrlStrategy(AdjustConfig.AdjustDataResidencyUS); // for US data residency region
11791180
```
11801181

11811182
**Note:** This feature is currently in beta testing phase. If you are interested in getting access to it, please contact your dedicated account manager or write an email to [email protected]. Please, do not turn this setting on before making sure with the support team that this feature is enabled for your app because otherwise SDK traffic will get dropped.
@@ -1210,7 +1211,7 @@ If needed, disable dSYM File. In the `Project Navigator`, select the `Unity-iPho
12101211
[android-deeplinking]: https://github.com/adjust/android_sdk#deep-linking
12111212
[google_play_services]: http://developer.android.com/google/play-services/setup.html
12121213
[android_sdk_download]: https://developer.android.com/sdk/index.html#Other
1213-
[install-referrer-aar]: https://maven.google.com/com/android/installreferrer/installreferrer/1.0/installreferrer-1.0.aar
1214+
[install-referrer-aar]: https://maven.google.com/com/android/installreferrer/installreferrer/2.2/installreferrer-2.2.aar
12141215
[android-custom-receiver]: https://github.com/adjust/android_sdk/blob/master/doc/english/referrer.md
12151216

12161217
[menu_android]: https://raw.github.com/adjust/adjust_sdk/master/Resources/unity/v4/menu_android.png
@@ -1221,15 +1222,15 @@ If needed, disable dSYM File. In the `Project Navigator`, select the `Unity-iPho
12211222

12221223
## License
12231224

1224-
### <a id="license"></a>License agreement
1225+
### <a id="license"></a>License
12251226

12261227
The file mod_pbxproj.py is licensed under the Apache License, Version 2.0 (the "License").
12271228
You may not use this file except in compliance with the License.
12281229
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
12291230

12301231
The Adjust SDK is licensed under the MIT License.
12311232

1232-
Copyright (c) 2012-2020 Adjust GmbH, http://www.adjust.com
1233+
Copyright (c) 2012-2021 Adjust GmbH, http://www.adjust.com
12331234

12341235
Permission is hereby granted, free of charge, to any person obtaining a copy of
12351236
this software and associated documentation files (the "Software"), to deal in

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.29.0
1+
4.29.1

doc/english/migration/migrate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Migrate your Adjust SDK for Unity3d to 4.29.0 from 3.4.4
1+
## Migrate your Adjust SDK for Unity3d to 4.29.1 from 3.4.4
22

33
### Migration procedure
44

0 commit comments

Comments
 (0)