Skip to content

Commit

Permalink
Release 6.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
af-dudka committed Aug 7, 2024
1 parent 725d2b6 commit 0237486
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 30 deletions.
4 changes: 4 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 6.15.0
* Update Android SDK to v6.15.0
* Added the logAdRevenue method to send ad revenue data to AppsFlyer. Note: Starting with this version, the AdRevenue Connector should no longer be used. For more details, [see] (https://dev.appsflyer.com/hc/docs/ad-revenue-1)

### 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).
Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can track installs, updates and sessions and also track additional in-app ev

---

Built with AppsFlyer Android SDK `v6.14.0`
Built with AppsFlyer Android SDK `v6.15.0`

## Table of content

Expand Down Expand Up @@ -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.14.0'
implementation 'com.appsflyer:segment-android-integration:6.15.0'
implementation 'com.android.installreferrer:installreferrer:2.1'
```

Expand Down
23 changes: 13 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdk 34

defaultConfig {
minSdkVersion 19
targetSdkVersion 33
minSdk 19
targetSdk 34
versionCode 1
versionName "1.0"
testApplicationId "com.example.test"
Expand Down Expand Up @@ -38,16 +38,19 @@ android {
}

dependencies {
testImplementation 'androidx.test.ext:junit:1.1.5'
api 'com.appsflyer:af-android-sdk:6.14.0'
compileOnly 'com.android.installreferrer:installreferrer:2.1'
api 'com.appsflyer:af-android-sdk:6.15.0'
compileOnly 'com.segment.analytics.android:analytics:4.+'
testImplementation 'androidx.test:core:1.4.0'
compileOnly 'com.android.installreferrer:installreferrer:2.2'

testImplementation 'androidx.test:core:1.6.1'
testImplementation 'androidx.test.ext:junit:1.2.1'
testImplementation 'com.android.installreferrer:installreferrer:2.2'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.9.2'
testImplementation 'com.android.installreferrer:installreferrer:2.1'
testImplementation 'com.segment.analytics.android:analytics:4.+'
testImplementation 'org.mockito:mockito-core:4.2.0'
testImplementation 'org.robolectric:robolectric:4.11.0'

testImplementation 'com.segment.analytics.android:analytics:4.+'
testImplementation 'com.segment.analytics.android:analytics-tests:4.+'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,12 @@ public Integration<AppsFlyerLib> create(ValueMap settings, Analytics analytics)
boolean trackAttributionData = settings.getBoolean("trackAttributionData", false);
Application application = analytics.getApplication();


AppsFlyerConversionListener listener = null;
if (trackAttributionData) {
listener = new ConversionListener(analytics);
}

AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.14.0"));
AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.15.0"));
afLib.setDebugLog(logger.logLevel != Analytics.LogLevel.NONE);
afLib.init(devKey, listener, application.getApplicationContext());
if (deepLinkListener != null)
Expand Down Expand Up @@ -148,7 +147,6 @@ public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
}
}


@Override
public AppsFlyerLib getUnderlyingInstance() {
return appsflyer;
Expand All @@ -169,7 +167,6 @@ public void identify(IdentifyPayload identify) {
}

private void updateEndUserAttributes() {

appsflyer.setCustomerUserId(customerUserId);
logger.verbose("appsflyer.setCustomerUserId(%s)", customerUserId);
appsflyer.setCurrencyCode(currencyCode);
Expand Down Expand Up @@ -316,9 +313,5 @@ private void editorCommit(SharedPreferences.Editor editor) {
private Context getContext() {
return this.analytics.getApplication().getApplicationContext();
}

}



}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

GROUP=com.appsflyer

VERSION_CODE=16
VERSION_NAME=6.14.0
VERSION_CODE=17
VERSION_NAME=6.15.0
POM_ARTIFACT_ID=segment-android-integration
POM_PACKAGING=aar

Expand Down
14 changes: 7 additions & 7 deletions segmenttestapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apply plugin: 'com.android.application'


android {
compileSdkVersion 33
compileSdk 34

defaultConfig {
applicationId "com.appsflyer.segment.app"
minSdkVersion 19
targetSdkVersion 33
minSdk 19
targetSdk 34
versionCode 1
versionName "1.0"
}
Expand All @@ -25,9 +24,10 @@ android {

dependencies {
implementation project(path: ':app')
testImplementation 'junit:junit:4.12'
implementation 'com.appsflyer:af-android-sdk:6.15.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.appsflyer:af-android-sdk:6.14.0'
implementation 'com.segment.analytics.android:analytics:4.+'
implementation 'com.android.installreferrer:installreferrer:2.1'
implementation 'com.android.installreferrer:installreferrer:2.2'

testImplementation 'junit:junit:4.13.2'
}
3 changes: 2 additions & 1 deletion segmenttestapp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="segment.onelink.me"
android:pathPrefix="/Udqe"
android:scheme="https" />
</intent-filter>
</activity>
Expand Down

0 comments on commit 0237486

Please sign in to comment.