https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
i

important-zebra-55422

01/10/2024, 3:32 PM
Hi, how do we get the variant name (not variant id) from the Java/Kotlin SDK?
b

brief-honey-45610

01/10/2024, 4:48 PM
Hi Rajiv, I'm going to move this question into the #sdk-java and #sdk-kotlin channels for better visibility
i

important-zebra-55422

01/10/2024, 4:48 PM
Thanks!
a

ancient-car-96302

01/10/2024, 6:53 PM
Hello @important-zebra-55422! Do you need variant name feature flag or GbExperiment?
i

important-zebra-55422

01/10/2024, 6:56 PM
For Experiments, e.g.
control_name
and
variant1_name
below
a

ancient-car-96302

01/10/2024, 6:56 PM
In the trackingCallback
i

important-zebra-55422

01/10/2024, 6:57 PM
yes, correct, thanks for clarifying that.
6 Views