Skip to content
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

Please update documentation for latest SDK version #50

Closed
amit3vedi opened this issue Feb 10, 2023 · 5 comments
Closed

Please update documentation for latest SDK version #50

amit3vedi opened this issue Feb 10, 2023 · 5 comments

Comments

@amit3vedi
Copy link

amit3vedi commented Feb 10, 2023

i was using kotlin SDK version io.growthbook.sdk:GrowthBook:1.0.3 because it's mentioned in official documentation page. but seems like actual latest version is 1.1.27 so i tried to migrate to 1.1.27 and my code is not working anymore
I tried using exact same code provided on github readme file but that is also not working

var sdkInstance: GrowthBookSDK = GBSDKBuilderApp(apiKey = <API_KEY>,
    hostURL = <GrowthBook_URL>,
    attributes = <Hashmap>,
    trackingCallback = { gbExperiment, gbExperimentResult ->

}).initialize()

i tried to downgrade to version 1.1.23 and my code started working again. seems like in 1.1.23 version GBSDKBuilderApp class was in kotlin file so named arguments were supported but now it's java class file so it's not supported anymore.
also even if i'm not using any encryption i have to pass encryption key value on latest 1.1.27 version?

@amit3vedi amit3vedi changed the title Update documentation Please update documentation for latest SDK version Feb 14, 2023
@Bohdan-Kim
Copy link
Collaborator

Thank you for your report. We are working on it.

@Bohdan-Kim
Copy link
Collaborator

Since 1.1.28 version if you are not using any encryption you can pass null value.

@Bohdan-Kim
Copy link
Collaborator

In 1.1.34 version we returned back named parameters for GBSDKBuilder

@Bohdan-Kim
Copy link
Collaborator

The pull request was updated.
Doc for 1.1.43 version was just written.
The pull request still requires review.

@Bohdan-Kim
Copy link
Collaborator

It was finally merged. Docs for 1.1.58 version.
@amit3vedi Do you have any other issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants