From 477d8b8951a545b915517ad5da510309305c4bac Mon Sep 17 00:00:00 2001 From: Andrii Dudla Date: Mon, 29 Apr 2024 13:18:40 +0300 Subject: [PATCH] Release 6.14.0 --- RELEASENOTES.md | 4 ++++ Readme.md | 6 ++++-- app/build.gradle | 8 ++++---- .../appsflyer/AppsflyerIntegration.java | 2 +- gradle.properties | 4 ++-- segmenttestapp/build.gradle | 8 ++++---- segmenttestapp/src/main/AndroidManifest.xml | 16 ++++++++++------ 7 files changed, 29 insertions(+), 19 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b6c2cf4..2fc238d 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,3 +1,7 @@ +### 6.14.0 +* Update Android SDK to v6.14.0 +* Updated Huawei Referrer integration. [Learn more](https://dev.appsflyer.com/hc/docs/install-android-sdk#huawei-install-referrer). + ### 6.13.0 * Update Android SDK to v6.13.0 * Added support for Google's new EU consent policy diff --git a/Readme.md b/Readme.md index 3b7efc5..bfe0525 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ You can track installs, updates and sessions and also track additional in-app ev --- -Built with AppsFlyer Android SDK `v6.13.0` +Built with AppsFlyer Android SDK `v6.14.0` ## Table of content @@ -97,7 +97,7 @@ And to start the AppsFlyer SDK, use `void startAppsFlyer(Context context)` API. Add the AppsFlyer Segment Integration dependency to your app `build.gradle` file. ```java -implementation 'com.appsflyer:segment-android-integration:6.13.0' +implementation 'com.appsflyer:segment-android-integration:6.14.0' implementation 'com.android.installreferrer:installreferrer:2.1' ``` @@ -116,6 +116,8 @@ to allow the SDK to collect the Android Advertising ID on apps targeting API 33. If your app is targeting children, you may need to revoke this permission to comply with Google's Data policy. You can read more about it [here](https://support.appsflyer.com/hc/en-us/articles/7569900844689). +Starting from **6.14.0** Huawei Referrer integration was updated. [Learn more](https://dev.appsflyer.com/hc/docs/install-android-sdk#huawei-install-referrer). + ### 2.2) Init AppsFlyer ```java diff --git a/app/build.gradle b/app/build.gradle index 9e07a5f..c8d3379 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 32 + compileSdkVersion 33 defaultConfig { - minSdkVersion 14 - targetSdkVersion 32 + minSdkVersion 19 + targetSdkVersion 33 versionCode 1 versionName "1.0" testApplicationId "com.example.test" @@ -39,7 +39,7 @@ android { dependencies { testImplementation 'androidx.test.ext:junit:1.1.5' - api 'com.appsflyer:af-android-sdk:6.13.0' + api 'com.appsflyer:af-android-sdk:6.14.0' compileOnly 'com.android.installreferrer:installreferrer:2.1' compileOnly 'com.segment.analytics.android:analytics:4.+' testImplementation 'androidx.test:core:1.4.0' diff --git a/app/src/main/java/com/segment/analytics/android/integrations/appsflyer/AppsflyerIntegration.java b/app/src/main/java/com/segment/analytics/android/integrations/appsflyer/AppsflyerIntegration.java index 8ebc6f5..2fe8bf4 100644 --- a/app/src/main/java/com/segment/analytics/android/integrations/appsflyer/AppsflyerIntegration.java +++ b/app/src/main/java/com/segment/analytics/android/integrations/appsflyer/AppsflyerIntegration.java @@ -98,7 +98,7 @@ public Integration create(ValueMap settings, Analytics analytics) listener = new ConversionListener(analytics); } - AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.13.0")); + AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.14.0")); afLib.setDebugLog(logger.logLevel != Analytics.LogLevel.NONE); afLib.init(devKey, listener, application.getApplicationContext()); if (deepLinkListener != null) diff --git a/gradle.properties b/gradle.properties index e113785..c1e6e08 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,8 +19,8 @@ GROUP=com.appsflyer -VERSION_CODE=15 -VERSION_NAME=6.13.0 +VERSION_CODE=16 +VERSION_NAME=6.14.0 POM_ARTIFACT_ID=segment-android-integration POM_PACKAGING=aar diff --git a/segmenttestapp/build.gradle b/segmenttestapp/build.gradle index e1888c4..544b06e 100644 --- a/segmenttestapp/build.gradle +++ b/segmenttestapp/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 + compileSdkVersion 33 defaultConfig { applicationId "com.appsflyer.segment.app" - minSdkVersion 14 - targetSdkVersion 26 + minSdkVersion 19 + targetSdkVersion 33 versionCode 1 versionName "1.0" } @@ -27,7 +27,7 @@ dependencies { implementation project(path: ':app') testImplementation 'junit:junit:4.12' implementation 'com.android.support:appcompat-v7:28.0.0' - implementation 'com.appsflyer:af-android-sdk:6.13.0' + implementation 'com.appsflyer:af-android-sdk:6.14.0' implementation 'com.segment.analytics.android:analytics:4.+' implementation 'com.android.installreferrer:installreferrer:2.1' } diff --git a/segmenttestapp/src/main/AndroidManifest.xml b/segmenttestapp/src/main/AndroidManifest.xml index e8a8fad..df39da0 100644 --- a/segmenttestapp/src/main/AndroidManifest.xml +++ b/segmenttestapp/src/main/AndroidManifest.xml @@ -6,26 +6,30 @@ + android:theme="@style/AppTheme"> - + - + - + +