Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public class TestService extends NanoHTTPD {
"anonymous-redaction",
"client-prereq-events",
"evaluation-hooks",
"track-hooks"
"track-hooks",
"client-per-context-summaries"
};
private static final String MIME_JSON = "application/json";
static final Gson gson = new GsonBuilder()
Expand Down
2 changes: 1 addition & 1 deletion launchdarkly-android-client-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ext.versions = [
"jacksonDatabind": "2.10.5.1",
"junit": "4.13",
"launchdarklyJavaSdkCommon": "2.1.1",
"launchdarklyJavaSdkInternal": "1.4.0",
"launchdarklyJavaSdkInternal": "1.8.0",
"launchdarklyLogging": "1.1.1",
"okhttp": "4.12.0",
"timber": "5.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,16 @@ public EventProcessor build(ClientContext clientContext) {
LDUtil.makeHttpProperties(clientContext),
StandardEndpoints.ANALYTICS_EVENTS_REQUEST_PATH,
StandardEndpoints.DIAGNOSTIC_EVENTS_REQUEST_PATH,
0, // use default retry delay
0L, // use default retry delay
false, // disable gzip compression for Android
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is maybe a feature we may want another PR for to expose as an option?

clientContext.getBaseLogger()),
1, // eventSendingThreadPoolSize
clientContext.getServiceEndpoints().getEventsBaseUri(),
flushIntervalMillis,
clientContext.isInBackground(),
true, // initiallyOffline
privateAttributes
privateAttributes,
true // perContextSummarization - enable for client SDK
);
return new DefaultEventProcessorWrapper(new DefaultEventProcessor(
eventsConfig,
Expand Down