-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add Optimizely builder option for client-engine info #466
Conversation
Pull Request Test Coverage Report for Build 1965
💛 - Coveralls |
public final static String VERSION = readVersionNumber(); | ||
|
||
// can be overridden by other wrapper client (android-sdk, etc) | ||
|
||
private static String clientVersion = readVersionNumber(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlike the old VERSION, this private variable can be changed with Optimizely.Builder.
|
||
eventHandler = mock(EventHandler.class); | ||
optimizely = Optimizely.builder(validConfigJsonV4(), eventHandler) | ||
.withClientInfo(EventBatch.ClientEngine.ANDROID_SDK, "1.2.3") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it confusing to check "android-sdk" client engine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you clarify this comment? Not clear to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Summary
Test plan
Issues