releases.shpreview
LaunchDarkly/Android SDK

Android SDK

$npx -y @buildinternet/releases show launchdarkly-android-sdk
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases1Avg0/wkVersionsv5.11.0
Jan 30, 2020

[2.10.0] - 2020-01-30

Added

  • The SDK now specifies a uniquely identifiable request header when sending events to LaunchDarkly to ensure that events are only processed once, even if the SDK sends them two times due to a failed initial attempt.

Deprecated

  • All classes in sub-packages, which were only intended for use by the SDK. These classes will be removed in the next major release.
  • LDCountryCode, as well as LDUser setters that took LDCountryCode as an argument. The String overloads should be used instead, as these will be removed in the next major release. Until that release the additional validation on the country fields will remain, see the Javadoc for more information.
Jan 3, 2020

[2.9.1] - 2020-01-03

Fixed:

  • Removed possibility of fatal SecurityException on Samsung devices that would be triggered when the SDK attempted to register an alarm to trigger a future poll when the application process already had 500 alarms registered. This limit is only present on Samsung's versions of Android Lollipop and later. The SDK will now catch this error if it occurs to prevent killing the host application.
  • Rarely, the client would deliver its initial "identify" event to LaunchDarkly immediately rather than waiting for the configured flush interval.
  • Fixed some malformed Javadoc comments.
Oct 25, 2019

[2.9.0] - 2019-10-25

Added

  • Added support for new LaunchDarkly experimentation features. See LDClient.track(String, JsonElement, Double) for recording numeric metrics.
  • Substantially improved test coverage for SDK behavior in different Application states (network connectivity and backgrounding).

Fixed

  • The Future returned by LDClient.identify could not complete as intended for certain connectivity states. When in a background state this could not complete until the next background polling cycle, or never if background polling was disabled.
Jul 29, 2019

[2.8.5] - 2019-07-29

Added:

  • Added a CircleCI badge to the project readme.

Fixed

  • Fix a bug introduced in 2.8.0 that could cause the SDK to enter a bad state where it would no longer connect to the flag stream if identify() was called rapidly.
  • Reverted an unintentional behavior change introduced in 2.8.0 when LDClient.init is given zero as the timeout argument. Before 2.8.0, this would not wait for initialization and return the client immediately. For 2.8.0-2.8.4 this was changed to wait indefinitely for initialization, 2.8.5 restores the earlier behavior.
Jun 14, 2019

[2.8.4] - 2019-06-14

Fixed

  • Deadlock when waiting on main thread for identify call.
  • ConcurrentModificationException caused by PollingUpdater or ConnectivityReceiver iterating over LDClient instances during initialization.
May 22, 2019

[2.8.3] - 2019-05-22

Added

  • Improved error handling on flag store migration.

Fixed

  • ClassCastException when migrating flag store from certain early Android SDK versions.
May 14, 2019

[2.8.2] - 2019-05-14

Fixed

  • Thread leak (introduced in 2.8.0) when calling identify() on LDClient instances.
May 6, 2019

[2.8.1] - 2019-05-06

Changed

  • Changed the artifact id from com.launchdarkly:launchdarkly-android-client to com.launchdarkly:launchdarkly-android-client-sdk
  • Changed repository references to use the new URL

There are no other changes in this release. Substituting com.launchdarkly:launchdarkly-android-client version 2.8.0 with com.launchdarkly:launchdarkly-android-client-sdk version 2.8.1 will not affect functionality.

May 3, 2019

[2.8.0] - 2019-05-03

Added

  • LDAllFlagsListener interface that can be registered to a LDClient instance. The SDK will call the listener's onChange method whenever it receives an update, passing a list of any flag keys that were updated to the listener.
  • Class ConnectionInformation that contains information about the current status of the SDK. This class can be retrieved with the method getConnectionInformation on a LDClient instance and contains information on the current connectivity mode, timestamps of most recent successful and unsuccessful connections to LaunchDarkly, as well as information on the most recent connection failure (if any).
  • LDStatusListener interface that can be registered to a LDClient instance. The interface has a method onConnectionModeChanged that will be called when the LDClient instance transitions between connectivity modes (due to foreground status changes, network connectivity changing, or explicitly being set). The listener also has a method onInternalFailure that will be called when the instance experiences a failure updating it's flag store. The SDK is expected to recover from these failures, the listener is supplied to allow more informed monitoring of any underlying reasons the flag store may be not up to date.
  • Demo of new ConnectionInformation functionality to example application.

Removed

  • Internal usages of Guava

Fixed

  • Potential issue that could cause dropping of flag updates if SDK received updates in close succession.
  • SDK will no longer assume that the application is started in the foreground, which can be untrue if started by Android's ActivityManager in response to a broadcast.
Apr 2, 2019

[2.7.0] - 2019-04-02

Added

  • The new configuration option setEvaluationReasons(true) causes LaunchDarkly to report information about how each feature flag value was determined; you can access this information with the new client methods boolVariationDetail, stringVariationDetail, etc. The new methods return an object that contains both the flag value and a "reason" object which will tell you, for instance, if the user was individually targeted for the flag or was matched by one of the flag's rules, or if the flag returned the default value due to an error. For more information, see the SDK Reference Guide on evaluation reasons.
  • The new client method getVersion() returns the version string of the SDK.

Fixed

  • Bug causing boolVariation, intVariation, and floatVariation to always return null if fallback argument was null.
  • Potential issue where environment versions for flag updates could compare incorrectly due to floating point coercion.
  • Summary events for unknown flags (flags evaluated without any stored value, variation, or version) now include the returned value as intended.
  • Inaccurate events caused by data for flag version and variation being unsynchronized with flag value.
  • Bug causing some events to be dropped from summary counts due to data race in sending and updating summary events.
  • Potential ClassCastException crash on some devices due to old version of OkHttp.
  • Improved documentation comments throughout.
  • Crash on migration when no primary mobile key is specified.

Removed

  • CircleCI V1 config file
Jan 29, 2019

[2.6.0] - 2019-01-29

Added:

  • Support for connecting to multiple environments through LDClient interface.
  • Security provider hot patch for devices without support for TLSv1.2 (requires Google Play Services to be successful).

Changed:

  • Use Timber formatting instead of String concatenation in logging.
  • Replace Log calls with Timber in example app.

Fixed:

  • Client now parses and stores flag version information correctly in polling mode, allowing these fields to be included in feature and summary events.
  • Prevent example app from permanently closing LDClient on first backgrounding.

Removed:

  • Support for Android Ice Cream Sandwich, 4.0.3, API 15
Oct 25, 2018

[2.5.4] - 2018-10-25

Changed

  • Outbound HTTP requests now have an authentication scheme token in Authorization request headers

Fixed

  • Polling for flag updates might block the main thread
  • Refactored map synchronization to avoid crashes in apps build with Gradle 3.3.0-alpha11
  • Restored support for network connectivity detection in Android 7.0+ devices
Sep 28, 2018

[2.5.3] - 2018-09-27

Fixed

  • Restored support for initializing LDClient on non-main threads
Sep 12, 2018

[2.5.2] - 2018-09-11

Fixed

  • Handling of Future returned by LDClient.init()
  • Date HTTP header parsing specifies US locale
Aug 14, 2018

[2.5.1] - 2018-08-13

Fixed

  • ClassCastException when calling variation methods due to internal storage schema changes between releases 2.3.x and 2.4.0.
  • LDUser.Builder.custom() no longer returns UnsupportedOperationException.
Jun 13, 2018

[2.5.0] - 2018-06-12

Changed

  • LDClient#identify(LDUser) now returns a Future<Void> so that the app can be notified when flag values have been refreshed for the updated user.
Jun 7, 2018

[2.4.1] - 2018-06-06

Fixed

  • Removed the unused com.noveogroup.android:android-logger dependency that prevented some consuming apps from assembling.
Jun 4, 2018

[2.4.0] - 2018-06-03

Added

  • To reduce the network bandwidth used for analytics events, feature request events are now sent as counters rather than individual events, and user details are now sent only at intervals rather than in each event. These behaviors can be modified through the LaunchDarkly UI and with the new configuration option inlineUsersInEvents. For more details, see Analytics Data Stream Reference.
  • New method setInlineUsersInEvents in LDConfig. When true includes the full user (excluding private attributes) in analytics feature and custom events. When false includes only the userKey. Default: false.

Changed

  • Updated Timber dependency to version 4.7.0.
May 3, 2018

[2.3.2] - 2018-05-02

Fixed

  • Application class removed from SDK, to avoid conflict with apps
Apr 21, 2018

[2.3.1] - 2018-04-20

Changed

  • SDK logging is now using Timber.
  • Increased the maximum backoff time for stream reconnection to 1 hour.
  • The setOnline() method may be throttled if called too frequently.
Latest
5.11.1
Tracking Since
Sep 29, 2016
Last checked Apr 19, 2026