Skip to content

Commit 01e843c

Browse files
Merge pull request #83 from AppsFlyerSDK/development
Development
2 parents bde1c5a + 658bd04 commit 01e843c

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

RELEASENOTES.md

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

3+
### 6.10.2
4+
* Update Android SDK to v6.10.2
5+
* Added Platform Extension v2 call.
6+
37
### 6.10.1
48
* Update Android SDK to v6.10.1
59
* Added unit tests.

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# AppsFlyer - Segment Integration
55
[![CI - Tests](https://github.com/AppsFlyerSDK/appsflyer-segment-android-plugin/actions/workflows/test.yml/badge.svg)](https://github.com/AppsFlyerSDK/appsflyer-segment-android-plugin/actions/workflows/test.yml)
6-
[![Maven Central](https://img.shields.io/maven-central/v/com.appsflyer/segment-android-integration?color=green&versionPrefix=6.10.1)](https://mvnrepository.com/artifact/com.appsflyer/segment-android-integration/6.10.1)
6+
[![Maven Central](https://img.shields.io/maven-central/v/com.appsflyer/segment-android-integration?color=green&versionPrefix=6.10.2)](https://mvnrepository.com/artifact/com.appsflyer/segment-android-integration/6.10.2)
77

88
----------
99
In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]
@@ -21,7 +21,7 @@ You can track installs, updates and sessions and also track additional in-app ev
2121

2222
---
2323

24-
Built with AppsFlyer Android SDK `v6.10.1`
24+
Built with AppsFlyer Android SDK `v6.10.2`
2525

2626
## Table of content
2727

@@ -95,7 +95,7 @@ And to start the AppsFlyer SDK, use `void startAppsFlyer(Context context)` API.
9595

9696
Add the AppsFlyer Segment Integration dependency to your app `build.gradle` file.
9797
```java
98-
implementation 'com.appsflyer:segment-android-integration:6.10.1'
98+
implementation 'com.appsflyer:segment-android-integration:6.10.2'
9999
implementation 'com.android.installreferrer:installreferrer:2.1'
100100
```
101101

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ android {
3939

4040
dependencies {
4141
implementation 'androidx.test.ext:junit:1.1.5'
42-
implementation 'com.appsflyer:af-android-sdk:6.10.1'
42+
implementation 'com.appsflyer:af-android-sdk:6.10.2'
4343
compileOnly 'com.android.installreferrer:installreferrer:2.1'
4444
compileOnly 'com.segment.analytics.android:analytics:4.+'
4545
testImplementation 'androidx.test:core:1.4.0'

app/src/main/java/com/segment/analytics/android/integrations/appsflyer/AppsflyerIntegration.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
import com.appsflyer.AppsFlyerLib;
1818
import com.appsflyer.deeplink.DeepLinkListener;
1919
import com.appsflyer.deeplink.DeepLinkResult;
20+
import com.appsflyer.internal.platform_extension.Plugin;
21+
import com.appsflyer.internal.platform_extension.PluginInfo;
2022
import com.segment.analytics.Analytics;
2123
import com.segment.analytics.Properties;
2224
import com.segment.analytics.ValueMap;
@@ -95,6 +97,8 @@ public Integration<AppsFlyerLib> create(ValueMap settings, Analytics analytics)
9597
if (trackAttributionData) {
9698
listener = new ConversionListener(analytics);
9799
}
100+
101+
AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.10.2"));
98102
afLib.setDebugLog(logger.logLevel != Analytics.LogLevel.NONE);
99103
afLib.init(devKey, listener, application.getApplicationContext());
100104
if (deepLinkListener != null)
@@ -116,7 +120,6 @@ public Integration<AppsFlyerLib> create(ValueMap settings, Analytics analytics)
116120
afLib.start(application, devKey);
117121
logger.verbose("Segment React Native AppsFlye rintegration is used, sending first launch manually");
118122
}
119-
120123
return new AppsflyerIntegration(application, logger, afLib, devKey);
121124
}
122125

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
GROUP=com.appsflyer
2121

22-
VERSION_CODE=11
23-
VERSION_NAME=6.10.1
22+
VERSION_CODE=12
23+
VERSION_NAME=6.10.2
2424
POM_ARTIFACT_ID=segment-android-integration
2525
POM_PACKAGING=aar
2626

segmenttestapp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
implementation project(path: ':app')
2828
testImplementation 'junit:junit:4.12'
2929
implementation 'com.android.support:appcompat-v7:28.0.0'
30-
implementation 'com.appsflyer:af-android-sdk:6.10.1'
30+
implementation 'com.appsflyer:af-android-sdk:6.10.2'
3131
implementation 'com.segment.analytics.android:analytics:4.+'
3232
implementation 'com.android.installreferrer:installreferrer:2.1'
3333
}

0 commit comments

Comments
 (0)