Skip to content

Commit

Permalink
Release 6.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
af-dudka committed Apr 29, 2024
1 parent 9d30060 commit 477d8b8
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 19 deletions.
4 changes: 4 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 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.13.0`
Built with AppsFlyer Android SDK `v6.14.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.13.0'
implementation 'com.appsflyer:segment-android-integration:6.14.0'
implementation 'com.android.installreferrer:installreferrer:2.1'
```

Expand All @@ -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).

### <a id="sdk_init"> 2.2) Init AppsFlyer

```java
Expand Down
8 changes: 4 additions & 4 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 32
compileSdkVersion 33

defaultConfig {
minSdkVersion 14
targetSdkVersion 32
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
testApplicationId "com.example.test"
Expand Down Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public Integration<AppsFlyerLib> 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)
Expand Down
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=15
VERSION_NAME=6.13.0
VERSION_CODE=16
VERSION_NAME=6.14.0
POM_ARTIFACT_ID=segment-android-integration
POM_PACKAGING=aar

Expand Down
8 changes: 4 additions & 4 deletions segmenttestapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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'
}
16 changes: 10 additions & 6 deletions segmenttestapp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,30 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:name="com.appsflyer.segment.app.SampleApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:name="com.appsflyer.segment.app.SampleApplication"
>
android:theme="@style/AppTheme">

<activity android:name="com.appsflyer.segment.app.MainActivity">
<activity
android:name="com.appsflyer.segment.app.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<intent-filter>
<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:scheme="https"/>

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

Expand Down

0 comments on commit 477d8b8

Please sign in to comment.