-
Notifications
You must be signed in to change notification settings - Fork 6
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
Niko/android to new template #550
base: main
Are you sure you want to change the base?
Conversation
* add precomputed assignments documentation for JS client * very nice! * globally * Update docs/sdks/client-sdks/javascript/precomputed-assignments.mdx Co-authored-by: Sameeran Kunche <[email protected]> --------- Co-authored-by: Sameeran Kunche <[email protected]>
* Update precomputed-assignments.mdx evaluation example * Update docs/sdks/client-sdks/javascript/precomputed-assignments.mdx Co-authored-by: Sameeran Kunche <[email protected]> --------- Co-authored-by: Sameeran Kunche <[email protected]>
…droid SDK documentation and clean up the introduction section by removing the API Reference card.
✅ Deploy Preview for eppo-data-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
||
```groovy | ||
dependencies { | ||
implementation 'cloud.eppo:android-sdk:4.0.0' |
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.
mind bumping this version to 4.3.3
which is the latest?
implementation 'cloud.eppo:android-sdk:4.0.0' | |
implementation 'cloud.eppo:android-sdk:4.3.3' |
|
||
### Initialize the SDK | ||
|
||
First, initialize the SDK with your API key. You'll need to do this early in your application lifecycle, typically in your Application class: |
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.
First, initialize the SDK with your API key. You'll need to do this early in your application lifecycle, typically in your Application class: | |
First, initialize the SDK with your API key. You'll need to do this early in your application lifecycle, typically in your `Application` subclass: |
EppoClient eppoClient = EppoClient.getInstance(); | ||
|
||
String flagKey = "new-landing-page"; | ||
String subjectKey = getUserId() || "anonymous"; |
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.
you can't use the ||
operator like this in Java (unlike Javascript).
You have to do instead:
String subjectKey = getUserId() != null ? getUserId() : "anonymous";
Split Android SDK Documentation into Multiple Pages
Changes Made
Restructured single android.md file into multiple focused pages:
Why?
Review instructions
To Do before Merge