Client vs. Server
This SDK is written in Kotlin, but exposes methods and overrides to Java based applications. It is open source and hosted on github.
Get started in a few quick steps.
You could skip this for now, but you will need an SDK Key and some Feature Gates or Dynamic Configs to use with the SDK in just a minute.
Install the sdk using jitpack
Initialize the SDK using a Server Secret Key from the statsig console:
Most SDK APIs run synchronously, so why are
The main reason is that older versions of the SDK might not know how to interpret new types of gate conditions. In such cases the SDK will make an asynchronous call to our servers to fetch the result of a check. This can be resolved by upgrading the SDK, and we will warn you if this happens.
For more information, see our SDK documentation on github.