Skip to content

Commit 2e47ba5

Browse files
authored
Merge pull request #49 from AppsFlyerSDK/v6.17.5-version-update
Update plugin version to 6.17.5
2 parents 16ad85e + 7ea3a05 commit 2e47ba5

File tree

8 files changed

+38
-10
lines changed

8 files changed

+38
-10
lines changed

AppsFlyerSDK/AppsFlyerSDK.uplugin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"FileVersion": 3,
33
"Version": 2,
4-
"VersionName": "6.16.2",
4+
"VersionName": "6.17.5",
55
"FriendlyName": "AppsFlyerSDK",
66
"Description": "UE4/UE5 AppsFlyer Plugin",
77
"Category": "Misc",

AppsFlyerSDK/Source/AppsFlyerSDK/AppsFlyer_UPL_Android.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
dependencies {
88
implementation 'com.android.installreferrer:installreferrer:2.2'
9-
implementation 'com.appsflyer:af-android-sdk:6.16.2'
9+
implementation 'com.appsflyer:af-android-sdk:6.17.3'
1010
}
1111
android {
1212
compileOptions {
@@ -88,6 +88,10 @@
8888
AppsFlyerLib.getInstance().enableTCFDataCollection(isTCFDataCollectionEnabled);
8989
}
9090

91+
public void afDisableAppSetId() {
92+
AppsFlyerLib.getInstance().disableAppSetId();
93+
}
94+
9195
// Deprecated
9296
public void afSetConsentData(boolean isGDPR, boolean hasConsentForDataUsage, boolean hasConsentForAdsPersonalization) {
9397
AppsFlyerConsent consent;

AppsFlyerSDK/Source/AppsFlyerSDK/Private/AppsFlyerSDKBlueprint.cpp

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,20 @@ void UAppsFlyerSDKBlueprint::configure()
194194
FJavaWrapper::CallVoidMethod(env, FJavaWrapper::GameActivityThis, PluginMethodID, jVersionName, jEngineVersion);
195195
env->DeleteLocalRef(jVersionName);
196196
env->DeleteLocalRef(jEngineVersion);
197-
197+
198+
if (isTCFDataCollectionEnabled)
199+
{
200+
jmethodID UPLMethod = FJavaWrapper::FindMethod(env, FJavaWrapper::GameActivityClassID, "afEnableTCFDataCollection", "(Z)V", false);
201+
FJavaWrapper::CallVoidMethod(env, FJavaWrapper::GameActivityThis, UPLMethod, true);
202+
}
203+
204+
if (defaultSettings->bDisableAppSetId)
205+
{
206+
UE_LOG(LogAppsFlyerSDKBlueprint, Display, TEXT("Manually disable play-services-appset"));
207+
jmethodID UPLMethod = FJavaWrapper::FindMethod(env, FJavaWrapper::GameActivityClassID, "afDisableAppSetId", "()V", false);
208+
FJavaWrapper::CallVoidMethod(env, FJavaWrapper::GameActivityThis, UPLMethod);
209+
}
210+
198211
if (isAutoStart)
199212
{
200213
jmethodID appsflyer = FJavaWrapper::FindMethod(env, FJavaWrapper::GameActivityClassID, "afStart", "(Ljava/lang/String;Z)V", false);
@@ -203,12 +216,6 @@ void UAppsFlyerSDKBlueprint::configure()
203216
FJavaWrapper::CallVoidMethod(env, FJavaWrapper::GameActivityThis, appsflyer, key, isDebug);
204217
}
205218

206-
if (isTCFDataCollectionEnabled)
207-
{
208-
jmethodID UPLMethod = FJavaWrapper::FindMethod(env, FJavaWrapper::GameActivityClassID, "afEnableTCFDataCollection", "(Z)V", false);
209-
FJavaWrapper::CallVoidMethod(env, FJavaWrapper::GameActivityThis, UPLMethod, true);
210-
}
211-
212219

213220
#elif PLATFORM_IOS
214221
dispatch_async(dispatch_get_main_queue(), ^ {

AppsFlyerSDK/Source/AppsFlyerSDK/Private/AppsFlyerSDKSettings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ UAppsFlyerSDKSettings::UAppsFlyerSDKSettings(const FObjectInitializer& ObjectIni
1414
, bDisableSKAdNetwork(false)
1515
, bEnableAutoStart(true)
1616
, bEnableTCFDataCollection(false)
17+
, bDisableAppSetId(false)
1718
{
1819
}

AppsFlyerSDK/Source/AppsFlyerSDK/Public/AppsFlyerSDKSettings.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ class UAppsFlyerSDKSettings : public UObject
4444

4545
UPROPERTY(Config, EditAnywhere, config, Category = "AppsFlyer", meta = (DisplayName = "Instruct the SDK to collect the TCF data from the device"))
4646
bool bEnableTCFDataCollection;
47+
48+
// Disable AppSetId collection on Android
49+
UPROPERTY(Config, EditAnywhere, config, Category = "AppsFlyer", meta = (DisplayName = "Disable AppSetId collection (Android only)"))
50+
bool bDisableAppSetId;
4751
};
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ slug: unreal-plugin
1616

1717
# Unreal AppsFlyer Plugin
1818

19-
v6.16.2
19+
v6.17.5
2020

2121
The plugin is compatible with Unreal Engine 4 and 5.
2222

RELEASENOTES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release Notes
22

3+
### 6.17.5
4+
Release date **September 4, 2025**
5+
Release type: **Minor**
6+
7+
**Overview and Highlights:**
8+
9+
- **Version Update**: Updated SDK version on Android to v6.17.3 and iOS to v6.17.5
10+
- **New Android API**: Added `disableAppSetId()` method to disable AppSetId collection on Android platforms
11+
12+
**New APIs:**
13+
- `disableAppSetId()` - Disables AppSetId collection on Android (Android only)
14+
315
### 1.0.0
416
Release date **May 2019**
517
Release type: **Major** / Minor / Hotfix

0 commit comments

Comments
 (0)