Releases: launchdarkly/android-client-sdk
Releases · launchdarkly/android-client-sdk
2.4.1
2.4.0
[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
inLDConfig
. Whentrue
includes the full user (excluding private attributes) in analyticsfeature
andcustom
events. Whenfalse
includes only theuserKey
. Default:false
.
Changed
- Updated
Timber
dependency to version4.7.0
.
2.3.2
2.3.1
2.3.0
2.2.1
[2.2.1] - 2018-03-11
Changed
- The minimum polling interval is now 5 minutes, and the default event publishing interval is 30 seconds.
- HTTP requests are cached in the app's cache directory.
- The SDK now provides a
consumer-proguard-rules.pro
file containing recommended ProGuard rules. - Due to a Guava dependency update, we recommend a new ProGuard rule which you may need to add if the rules in
consumer-proguard-rules.pro
are not applied automatically:
-dontwarn com.google.errorprone.annotations.**
Fixed
- Restored support for Java 1.7.
2.2.0
[2.2.0] - 2018-01-25
Added
- Support for specifying private user attributes in order to prevent user attributes from being sent in analytics events back to LaunchDarkly. See the
allAttributesPrivate
andsetPrivateAttributeNames
methods onLDConfig.Builder
as well as theprivateX
methods onLDUser.Builder
.
2.1.1
[2.1.1] - 2017-11-27
Fixed
AndroidManifest.xml
no longer enforcessupportsRtl="true"
- Client no longer reconnects after detecting an invalidated mobile key
- Client can be initialized outside the main thread. Thanks @jonathanmgrimm!
2.1.0
[2.1.0] - 2017-10-13
Added
LDConfig.Builder#setUseReport
method to allow switching the request verb fromGET
toREPORT
. Do not use unless advised by LaunchDarkly.
Changed
LDClient.init
validates that its arguments are non-null.
Fixed
- Stream connections are closed completely when the app enters background mode.
- Fewer HTTP requests are made to the LaunchDarkly service when feature flags are updated frequently.
- Potential
NullPointerException
in thevariation
methods. - Removed spurious error when
LDClient
is initialized while the device is offline.