Skip to content

Commit 827af48

Browse files
authored
Merge pull request #12 from adjust/v540
Version 5.4.0
2 parents 214a8e5 + 2cc7207 commit 827af48

32 files changed

+2220
-120
lines changed

Adjust/Adjust.uplugin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"FileVersion": 3,
33
"Version": 2,
4-
"VersionName": "5.0.1",
4+
"VersionName": "5.4.0",
55
"FriendlyName": "Adjust",
66
"Description": "Adjust SDK plugin for Unreal Engine 5",
77
"Category": "Mobile Analytics",
@@ -18,4 +18,4 @@
1818
"LoadingPhase": "Default"
1919
}
2020
]
21-
}
21+
}

Adjust/Source/Adjust/Adjust_UPL_Android.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
dependencies {
1010
implementation 'com.android.installreferrer:installreferrer:2.2'
11-
implementation 'com.adjust.sdk:adjust-android:5.1.0'
11+
implementation 'com.adjust.sdk:adjust-android:5.4.5'
1212
}
1313
android {
1414
compileOptions {
@@ -40,6 +40,8 @@
4040
-keep public class com.epicgames.unreal.GameActivity$AdjustUeLastDeeplinkGetterCallback { *; }
4141
-keep public class com.epicgames.unreal.GameActivity$AdjustUeGoogleAdIdGetterCallback { *; }
4242
-keep public class com.epicgames.unreal.GameActivity$AdjustUeAmazonAdIdGetterCallback { *; }
43+
-keep public class com.epicgames.unreal.GameActivity$AdjustUePurchaseVerificationCallback { *; }
44+
-keep public class com.epicgames.unreal.GameActivity$AdjustUeLinkResolutionCallback { *; }
4345
</insert>
4446
</proguardAdditions>
4547

@@ -221,6 +223,32 @@
221223
sdkVersionRead(this.sdkPrefix + "@" + sdkVersion);
222224
}
223225
}
226+
227+
public class AdjustUePurchaseVerificationCallback implements OnPurchaseVerificationFinishedListener {
228+
public native void verificationFinished(com.adjust.sdk.AdjustPurchaseVerificationResult result);
229+
230+
public AdjustUePurchaseVerificationCallback() {}
231+
232+
@Override
233+
public void onVerificationFinished(com.adjust.sdk.AdjustPurchaseVerificationResult result) {
234+
verificationFinished(result);
235+
}
236+
}
237+
238+
public class AdjustUeLinkResolutionCallback implements AdjustLinkResolution.AdjustLinkResolutionCallback {
239+
public native void resolvedLinkCallback(String resolvedLink);
240+
241+
public AdjustUeLinkResolutionCallback() {}
242+
243+
@Override
244+
public void resolvedLinkCallback(android.net.Uri resolvedLink) {
245+
if (resolvedLink != null) {
246+
resolvedLinkCallback(resolvedLink.toString());
247+
} else {
248+
resolvedLinkCallback("");
249+
}
250+
}
251+
}
224252
// End Adjust gameActivityClassAdditions
225253
</insert>
226254
</gameActivityClassAdditions>

Adjust/Source/Adjust/Private/Adjust.cpp

Lines changed: 885 additions & 54 deletions
Large diffs are not rendered by default.

Adjust/Source/Adjust/Private/AdjustModule.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ DEFINE_LOG_CATEGORY(AdjustLog);
1919

2020
void FAdjustModule::StartupModule()
2121
{
22-
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
22+
// this code will execute after your module is loaded into memory
23+
// the exact timing is specified in the .uplugin file per-module
2324
}
2425

2526
void FAdjustModule::ShutdownModule()
2627
{
27-
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
28-
// we call this function before unloading the module.
28+
// this function may be called during shutdown to clean up your module
29+
// for modules that support dynamic reloading, we call this function before unloading the module
2930
}
3031

3132
#undef LOCTEXT_NAMESPACE

0 commit comments

Comments
 (0)