-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Running version 3.9.10
of the growthbook_sdk_flutter
.
We ran an experiment recently. Both the experiment & the feature flag had defined rules gating any user from viewing the experiment if they had an App Version < 1.18.1.
The mobileAppVersion
is set upon app initialization as follows:
final version = (await PackageInfo.fromPlatform()).version;
final growthBookBuilder = GBSDKBuilderApp(
apiKey: growthbookKey(),
hostURL: 'https://cdn.growthbook.io/',
attributes: {
if (user?.id != null) 'id': '${user!.id}',
if (user?.email != null) 'email': user!.email,
if (user?.createdAt != null) 'createdAt': user!.createdAt,
'mobileAppVersion': version,
'platform': platform,
},
growthBookTrackingCallBack: (trackingCallback) {
...
});
final growthBook = await growthBookBuilder.initialize();
Yet, somehow, these rules were not respected within Growthbook because we saw ultimately ~2000+ users still seeing the experiment.

Of those users, 27% were set to the non-Control Variant.
Being able to gate feature flags by version I believe is table stakes for an A/B Testing provider. Can someone please help us triage and figure out how this could've happened?
Metadata
Metadata
Assignees
Labels
No labels