Skip to content

Commit 398e58e

Browse files
authored
Release 6.17.3 (#107)
1 parent f0e4f75 commit 398e58e

File tree

11 files changed

+35
-28
lines changed

11 files changed

+35
-28
lines changed

.github/bash_scripts/release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
releaseversion=$1
44

5-
sed -i '' 's/^/* /' "releasenotes.$releaseversion"
6-
NEW_VERSION_RELEASE_NOTES=$(cat "releasenotes.$releaseversion")
7-
NEW_VERSION_SECTION="### $releaseversion\n$NEW_VERSION_RELEASE_NOTES\n\n"
8-
echo -e "$NEW_VERSION_SECTION$(cat RELEASENOTES.md)" > RELEASENOTES.md
5+
#sed -i '' 's/^/* /' "releasenotes.$releaseversion"
6+
#NEW_VERSION_RELEASE_NOTES=$(cat "releasenotes.$releaseversion")
7+
#NEW_VERSION_SECTION="### $releaseversion\n$NEW_VERSION_RELEASE_NOTES\n\n"
8+
#echo -e "$NEW_VERSION_SECTION$(cat RELEASENOTES.md)" > RELEASENOTES.md
99

1010
rm -r "releasenotes.$releaseversion"
1111

.github/workflows/prepare-for-QA-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
- name: Set up JDK
3131
uses: actions/setup-java@v1
3232
with:
33-
java-version: '11'
33+
java-version: '17'
3434
- name: Grant execute permission for gradlew
3535
run: |
3636
chmod +x ./gradlew
3737
- name: Publish package to QA (-Beta)
3838
run: |
39-
./gradlew publish
39+
./gradlew publish closeSonatypeStagingRepository
4040
- name: Notify with Slack
4141
uses: slackapi/[email protected]
4242
with:

.github/workflows/release-production-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
- name: Set up JDK
5050
uses: actions/setup-java@v1
5151
with:
52-
java-version: '11'
52+
java-version: '17'
5353
- name: Grant execute permission for gradlew
5454
run: |
5555
chmod +x ./gradlew
5656
- name: Publish package
5757
run: |
58-
./gradlew publish
58+
./gradlew publish closeSonatypeStagingRepository
5959
- name: Notify with Slack
6060
uses: slackapi/[email protected]
6161
with:

.github/workflows/unit-tests-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up JDK
1515
uses: actions/setup-java@v1
1616
with:
17-
java-version: '11'
17+
java-version: '17'
1818
- name: Setup Android SDK
1919
uses: android-actions/setup-android@v2
2020
- name: Make gradlew executable

RELEASENOTES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
### 6.17.3
2+
* Update Android SDK to v6.17.3
3+
* Update the Documentation for manually sending DMA Consent data to AppsFlyer. For more details, [see] (https://dev.appsflyer.com/hc/docs/android-send-consent-for-dma-compliance).
4+
15
### 6.17.1
2-
* Update Android SDK to v7.17.1
6+
* Update Android SDK to v6.17.1
37

48
### 6.15.0
59
* Update Android SDK to v6.15.0

Readme.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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.17.1`
24+
Built with AppsFlyer Android SDK `v6.17.3`
2525

2626
## Table of content
2727

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

9898
Add the AppsFlyer Segment Integration dependency to your app `build.gradle` file.
9999
```java
100-
implementation 'com.appsflyer:segment-android-integration:6.17.1'
100+
implementation 'com.appsflyer:segment-android-integration:6.17.3'
101101
implementation 'com.android.installreferrer:installreferrer:2.1'
102102
```
103103

@@ -328,23 +328,27 @@ If your app does not use a CMP compatible with TCF v2.2, use the SDK API detaile
328328
<li> In the <code>Activity</code> class, determine whether the GDPR applies or not to the user.<br>
329329
- If GDPR applies to the user, perform the following:
330330
<ol>
331-
<li> Given that GDPR is applicable to the user, determine whether the consent data is already stored for this session.
331+
<li> Given that GDPR applies to the user, determine whether the consent data is already stored for this session.
332332
<ol>
333333
<li> If there is no consent data stored, show the consent dialog to capture the user consent decision.
334-
<li> If there is consent data stored continue to the next step.
334+
<li> If there is consent data stored, continue to the next step.
335335
</ol>
336-
<li> To transfer the consent data to the SDK create an object called <code>AppsFlyerConsent</code> using the <code>forGDPRUser()</code> method with the following parameters:<br>
336+
<li> To transfer the consent data to the SDK, create an object called AppsFlyerConsent with the following optional parameters:<br>
337+
- <code>isUserSubjectToGDPR</code> - Indicates whether GDPR applies to the user.<br>
337338
- <code>hasConsentForDataUsage</code> - Indicates whether the user has consented to use their data for advertising purposes.<br>
338-
- <code>hasConsentForAdsPersonalization</code> - Indicates whether the user has consented to use their data for personalized advertising purposes.
339+
- <code>hasConsentForAdsPersonalization</code> - Indicates whether the user has consented to use their data for personalized advertising purposes.<br>
340+
- <code>hasConsentForAdStorage</code> - Indicates whether the user has consented to store or access information on a device.<br>
339341
<li> Call <code>AppsFlyerLib.getInstance().setConsentData()</code> with the <code>AppsFlyerConsent</code> object.
340342
<li> Call <code>AppsflyerIntegration.startAppsFlyer(this)</code>.
341343
</ol><br>
342-
- If GDPR doesn’t apply to the user perform the following:
344+
- If GDPR does not apply to the user, set <code>isUserSubjectToGDPR</code> to false and the rest of the parameters must be null. See example below:
343345
<ol>
344-
<li> Create an <code>AppsFlyerConsent</code> object using the <code>forNonGDPRUser()</code> method. This method doesn’t accept any parameters.
345-
<li> Call <code>AppsFlyerLib.getInstance().setConsentData()</code> with the <code>AppsFlyerConsent</code> object.
346-
<li> Call <code>AppsflyerIntegration.startAppsFlyer(this)</code>.
347-
</ol>
346+
<li> Create an <code>AppsFlyerConsent</code> object:<br> <code>AppsFlyerConsent nonGdprUser = new AppsFlyerConsent(false, null, null, null);</code>
347+
<li> Call <br><code>AppsFlyerLib.getInstance().setConsentData(nonGdprUser);</code>
348+
<li> Call <br><code>AppsflyerIntegration.startAppsFlyer(this)</code>.
349+
</ol>
350+
351+
For more details: https://dev.appsflyer.com/hc/docs/android-send-consent-for-dma-compliance
348352
</ol>
349353

350354
### <a id="sample_app">

app/build.gradle

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

4040
dependencies {
41-
api 'com.appsflyer:af-android-sdk:6.17.1'
41+
api 'com.appsflyer:af-android-sdk:6.17.3'
4242
compileOnly 'com.segment.analytics.android:analytics:4.+'
4343
compileOnly 'com.android.installreferrer:installreferrer:2.2'
4444

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import androidx.annotation.NonNull;
1313

1414
import com.appsflyer.AFInAppEventParameterName;
15-
import com.appsflyer.AFLogger;
1615
import com.appsflyer.AppsFlyerConversionListener;
1716
import com.appsflyer.AppsFlyerLib;
1817
import com.appsflyer.deeplink.DeepLinkListener;
@@ -97,7 +96,7 @@ public Integration<AppsFlyerLib> create(ValueMap settings, Analytics analytics)
9796
listener = new ConversionListener(analytics);
9897
}
9998

100-
AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.17.1"));
99+
AppsFlyerLib.getInstance().setPluginInfo(new PluginInfo(Plugin.SEGMENT,"6.17.3"));
101100
afLib.setDebugLog(logger.logLevel != Analytics.LogLevel.NONE);
102101
afLib.init(devKey, listener, application.getApplicationContext());
103102
if (deepLinkListener != null)

gradle.properties

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

2020
GROUP=com.appsflyer
2121

22-
VERSION_CODE=20
23-
VERSION_NAME=6.17.1
24-
POM_ARTIFACT_ID=segment-android-integration
22+
VERSION_CODE=26
23+
VERSION_NAME=6.17.3-rc7
24+
POM_ARTIFACT_ID=segment-android-integration-beta
2525
POM_PACKAGING=aar
2626

2727
POM_NAME=AppsFlyer Integration

releasenotes.6.17.3

Whitespace-only changes.

0 commit comments

Comments
 (0)