adorable-balloon-99556
07/30/2025, 10:22 PMGBNetworkDispatcherKtor rather than GBNetworkDispatcherOkHttp, I tried wrap the code within runBlocking , tried to call refreshCache manually, but the features can't get loaded. Here's the dependencies:
// build.gradle.kts
dependencies {
implementation("io.growthbook.sdk:GrowthBook:5.0.1")
implementation("io.growthbook.sdk:NetworkDispatcherOkHttp:1.0.2")
}
The program can't load the features although I can fetch them properly through the host url. Also, the status is "Connected" in the SDK Connections page. gb.getFeatures() is always empty. Could anybody please help?
The code is in the snippet below