cool-apple-97384
10/13/2022, 4:16 AMgrowthBookTrackingCallBack: (gbExperiment, gbExperimentResult) {}
Because I was tried to assigned user to specific value, that method never called. Thanks.fresh-football-47124
cool-apple-97384
10/13/2022, 4:18 AMGrowthBook(
apiHost: F.growthBookApiHost,
apiKey: growthBookApiKey,
isQAMode: (F.appFlavor == Flavor.staging),
trackingCallback: (experiment, result) {
// any tracker method
},
),
const id = 'pdp-palingmurah';
final feature = _growthBook.instance.feature(id);
if (feature.value == 'PDP-Title') {
_cheapestBadge.value = CheapestType.title;
} else if (feature.value == 'PDP-Price') {
_cheapestBadge.value = CheapestType.price;
}
fresh-football-47124
cool-apple-97384
10/13/2022, 4:20 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:21 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:23 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:24 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:31 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:44 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:46 AMfresh-football-47124
cool-apple-97384
10/13/2022, 4:48 AMfresh-football-47124
final feature
is set to?cool-apple-97384
10/13/2022, 5:00 AMdefaultValue
fresh-football-47124