At a glance: Check out the SDK release notes for a quick overview of the latest changes to the Android SDK. Developers looking for more comprehensive details should review the Android Release Notes on the Dev Hub.
Android SDK V6
Android SDK integration guide for developers
Version | Release date | Notes |
---|---|---|
6.15.1 | 2024-08-28 | Versions upgrade:
|
6.15.0 | 2024-07-31 |
|
6.14.2 | 2024-06-10 |
|
6.14.1 | 2024-05-29 | SDK maintenance |
6.14.0 | 2024-04-18 |
|
6.13.1 | 2024-04-03 | SDK maintenance |
6.13.0 | 2024-02-08 |
|
6.12.6 | 2024-01-29 |
SDK maintenance |
6.12.5 | 2023-12-18 |
|
6.12.4 | 2023-10-25 |
|
6.12.3 |
2023-08-31 | SDK maintenance |
6.12.2 |
2023-08-02 |
|
6.12.1 |
2023-06-29 |
|
6.12.0 |
2023-06-28 |
|
6.11.2 |
2023-06-29 |
|
6.11.1 |
2023-06-6 |
|
6.11.0 |
2023-05-16 |
|
6.10.3 |
2023-04-25 | SDK maintenance |
6.10.1 |
2023-03-01 |
|
6.10.0 |
2023-02-13 |
|
6.9.4 |
2022-12-6 |
|
6.9.3 |
2022-11-28 |
|
6.9.2 |
2022-10-02 |
|
6.9.1 |
2022-09-19 | SDK maintenance |
6.9.0 |
2022-09-12 |
|
6.8.2 |
2022-08-29 |
|
6.8.1 |
2022-08-24 |
|
6.8.0 |
2022-07-18 |
|
6.7.0 |
2022-06-19 |
|
6.6.1 |
2022-05-16 | SDK maintenance |
6.6.0 |
2022-05-01 |
|
6.5.4 |
2022-03-23 | SDK maintenance |
6.5.3 |
2022-03-09 |
|
6.5.2 |
2022-01-26 |
|
6.5.1 |
2021-12-29 |
|
6.5.0 |
2021-12-07 |
|
6.4.3 |
2021-11-14 |
|
6.4.2 |
2021-10-24 |
The following were resolved:
|
6.4.1 |
2021-10-17 |
Resolved compilation error when using Gradle version earlier than V3.5.4. |
6.4.0 |
2021-09-12 |
New API: As of this version, |
6.3.2 Deprecation: 31/08/2024 |
2021-06-06 |
New API: |
6.3.1 Deprecation: 31/08/2024 |
2021-05-26 |
|
6.3.0 Deprecation: 31/08/2024 |
2021-04-29 |
|
6.2.3 Deprecation: 31/08/2024 |
2021-03-04 | SDK maintenance |
6.2.0 Deprecation: 31/08/2024 |
2021-02-07 |
|
6.1.4 Deprecation: 31/08/2024 |
2021-01-12 |
|
6.1.3 Deprecation: 31/08/2024 |
2020-12-24 |
|
6.1.1 Deprecation: 31/08/2024 |
2020-12-03 |
|
6.1.0 Deprecation: 31/08/2024 |
2020-11-09 |
|
6.0.1 Deprecation: 31/08/2024 |
2020-10-28 |
SDK maintenance |
6.0.0 Deprecation: 31/08/2024 |
2020-10-14 |
|
Android V6.0.0 release notes
Methods removed/deprecated or renamed
Methods removed/deprecated
The following methods have been removed from the SDK:
-
sendDeepLinkData
-
trackAppLaunch
-
setPluginDeepLinkData
-
setConsumeAFDeepLinks
-
setHostName
Methods renamed
API name (before V6) | Current API name (V6 and later) |
---|---|
stopTracking |
stop |
setCustomerIdAndTrack |
setCustomerIdAndLogSession |
startTracking |
start |
trackLocation |
logLocation |
reportTrackSession |
logSession |
trackEvent |
logEvent |
setDeviceTrackingDisabled |
anonymizeUser |
validateAndTrackInAppPurchase |
validateAndLogInAppPurchase |
isStopTracking |
isStopped |
trackAndOpenStore |
logAndOpenStore |
trackCrossPromoteImpression |
logCrossPromoteImpression |
trackInvite |
logInvite |
Renamed interface
Interface name (before V6) | Current interface name (V6 and later) |
---|---|
AppsFlyerTrackingRequestListener |
AppsFlyerRequestListener |
Deprecated Versions
Android SDK V5 release notes
Version | Release date | Maintenance only | Notes |
---|---|---|---|
5.4.6 |
2020-11-09 |
|
|
5.4.4 |
2020-10-01 |
|
|
5.4.3 |
2020-07-30 |
|
|
5.4.1 |
2020-06-30 |
|
|
5.4.0 |
2020-06-03 |
|
|
5.3.0 |
2020-04-27 |
|
|
5.2.0 | 2020-03-10 |
|
|
5.1.2 | 2020-02-19 | Yes |
|
5.1.1 | 2020-01-23 | Yes | |
5.1.0 | 2020-01-06 |
|
|
5.0.2 | 2019-12-23 | ||
5.0.1 | 2019-12-12 | ||
5.0.0 | 2019-11-12 |
|
Android V5.0.0 release notes
Improved SDK response time
Starting with SDK V5.0.0 improved GCD response time for organic installs.
Methods removed or renamed
Method name changes
Install conversion data method names are now the same for Android and iOS. This impacts methods that handle:
- conversion data on install
- errors if data is not available
Android name prior to SDK V5 | iOS name prior to SDK V5 | Standardized name |
---|---|---|
onInstallConversionDataLoaded |
onConversionDataReceived |
onConversionDataSuccess |
onInstallConversionFailure |
onConversionDataRequestFailure |
onConversionDataFail |
Methods removed
The following methods were deprecated in previous SDK versions. They have now been removed from the SDK.
Android
- setGCMProjectID (String projectNumber)
- setGCMProjectNumber (String projectNumber)
- setGCMProjectNumber (Context context, String projectNumber)
- enableUninstallTracking (String senderId)
- setAppUserId (String id)
- setUserEmail (String email)
- setCollectFingerPrint (boolean isCollect)
- getAttributionId (ContentResolver contentResolver)
- FirebaseInstanceIdListener class (instance of FirebaseInstanceIdService)
iOS
- loadConversionDataWithDelegate: (id<AppsFlyerTrackerDelegate>)delegate
- setHost:(NSString *)host
Changes to get conversion data format
In this version, for each install or app open, the SDK returns a map object that contains conversion data (GCD) such as media source and campaign name. In previous SDK versions, GCD returned only parameters that had a value
Starting with this version, all parameters are returned, including those without a value. Parameters without value have a null value.
Example
An install follows a click on the following URL:
https://app.appsflyer.com/com.sample.app?pid=super_media_source&c=awesome_campaign
&campaign_id=1234&af_sub1=promo
The responses are as follows:
{
"install_time": "2019-11-11 15:00:59.828",
"media_source": "super_media_source",
"orig_cost": "0.0",
"advertising_id": "215d8172-c61e-4d0c-9eb2-aa4d0971ed8c",
"af_status": "Non-organic",
"is_first_launch": "true",
"af_sub1": "promo",
"af_click_lookback": "7d",
"cost_cents_USD": "0",
"iscache": "true",
"click_time": "2019-11-11 15:00:35.102",
"campaign": "awesome_campaign",
"campaign_id": "1234",
}
{
"adgroup": null,
"campaign": "awesome_campaign",
"media_source": "super_media_source",
"adset_id": null,
"campaign_id": 1234,
"iscache": true,
"install_time": "2019-11-11 15:00:59.828",
"adgroup_id": null,
"af_sub5": null,
"click_time": "2019-11-11 15:00:35.102",
"agency": null,
"cost_cents_USD": "0",
"advertising_id": "215d8172-c61e-4d0c-9eb2-aa4d0971ed8",
"adset": null,
"af_sub3": null,
"af_siteid": null,
"http_referrer": null,
"orig_cost": "0.0",
"af_sub4": null,
"af_cpi": null,
"af_sub1": "promo",
"af_click_lookback": "7d",
"af_sub2": null,
"af_status": "Non-organic",
"is_first_launch": "true",
"retargeting_conversion_type": "none"
}
GCD returns the same structure no matter the data. If a parameter is empty, it is included in GCD with a null value. This makes it easier for developers to process GCD without having to adjust the GCD processing logic, irrespective of whether certain parameters are included or not. To learn more about conversion data in different scenarios, see here.
Android V4.0.0 release notes
Version | Release Date | Notes |
---|---|---|
4.11.0 | 10-22-2019 |
|
4.10.3 | 09-15-2019 |
|
4.10.1 | 07-01-2019 | Bug fixes and maintenance |
4.10.0 | 05-14-2019 |
|
4.9.0 | 03-17-2019 |
|
4.8.20 | 02-13-2019 |
|
4.8.19 | 12-26-2018 |
|
4.8.18 | 11-11-2018 |
|
4.8.17 | 11-02-2018 | Fix for an issue related to conflicts in ProGuard causing loss of app launch data in some cases. This issue affected only SDK version 4.8.16 |
4.8.16 | 10-31-2018 | Bug fixes and maintenance |
4.8.15 | 08-27-2018 |
|
4.8.14 | 07-31-2018 |
|
4.8.13 | 06-20-2018 |
|
4.8.12 | 05-27-2018 |
|
4.8.11 | 05-02-2018 | Bug fixes and maintenance |
4.8.10 | 04-26-2018 |
|
4.8.9 | 04-02-2018 |
|
4.8.8 | 03-11-2018 |
|
4.8.7 | 01-25-2018 |
|
4.8.5 | 11-29-2017 |
|
4.8.4 | 11-14-2017 |
|
4.8.3 | 09-27-2017 | Added support for HTTP referrer data in getConersionData |
4.8.2 | 09-19-2017 | Fix in sendDeepLinkData(this) for apps that deep-link to multiple activities |
4.8.1 | 09-17-2017 | Improved protection against in-app events called before SDK initialization |
4.8.0 | 09-03-2017 |
|
4.7.4 | 06-28-2017 | Improved handling of multiple ScheduledExecutorSerice shutdowns |
4.7.3 | 06-06-2017 | Enhancements for mParticle integration |
4.7.2 | 05-22-2017 |
|
4.7.1 | 02-22-2017 | Fixed warning triggered by ProGuard |
4.7.0 | 02-13-2017 |
|