Skip to content

Commit 97d4184

Browse files
authored
Merge pull request #133 from adjust/v4130
Version 4.13.0
2 parents c060a29 + 8f045a6 commit 97d4184

File tree

133 files changed

+4006
-16004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+4006
-16004
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,4 @@ unity_sdk*.sln
206206
# Exceptions #
207207
# ========== #
208208
!google-play-services_lib/AndroidManifest.xml
209+
*.lock.json

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[submodule "ext/Android/sdk"]
22
path = ext/Android/sdk
3-
url = [email protected]:adjust/android_sdk_dev.git
3+
url = [email protected]:adjust/android_sdk.git
44
branch = master
55
[submodule "ext/iOS/sdk"]
66
path = ext/iOS/sdk
7-
url = [email protected]:adjust/ios_sdk_dev.git
7+
url = [email protected]:adjust/ios_sdk.git
88
branch = master
99
[submodule "ext/Windows/sdk"]
1010
path = ext/Windows/sdk
11-
url = [email protected]:adjust/windows_sdk_dev.git
11+
url = [email protected]:adjust/windows_sdk.git
1212
branch = master

Assets/Adjust/Adjust.cs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using UnityEngine;
4+
using com.adjust.sdk.test;
45

56
namespace com.adjust.sdk
67
{
@@ -183,6 +184,19 @@ public static void setDeviceToken(string deviceToken)
183184
#endif
184185
}
185186

187+
public static void gdprForgetMe()
188+
{
189+
#if UNITY_IOS
190+
AdjustiOS.GdprForgetMe();
191+
#elif UNITY_ANDROID
192+
AdjustAndroid.GdprForgetMe();
193+
#elif (UNITY_WSA || UNITY_WP8)
194+
AdjustWindows.GdprForgetMe();
195+
#else
196+
Debug.Log(errorMsgPlatform);
197+
#endif
198+
}
199+
186200
public static void appWillOpenUrl(string url)
187201
{
188202
if (IsEditor()) { return; }
@@ -516,5 +530,20 @@ private static bool IsEditor()
516530
return false;
517531
#endif
518532
}
533+
534+
public static void SetTestOptions(AdjustTestOptions testOptions)
535+
{
536+
if (IsEditor()) { return; }
537+
538+
#if UNITY_IOS
539+
AdjustiOS.SetTestOptions(testOptions);
540+
#elif UNITY_ANDROID
541+
AdjustAndroid.SetTestOptions(testOptions);
542+
#elif (UNITY_WSA || UNITY_WP8)
543+
AdjustWindows.SetTestOptions(testOptions);
544+
#else
545+
Debug.Log("Cannot run integration tests. None of the supported platforms selected.");
546+
#endif
547+
}
519548
}
520549
}

0 commit comments

Comments
 (0)