Hi, one question about the underlying principal about assign a consistent variation to each user. How does it happen in ReactNative world? like user A being assigned with variation 0, and user closed the App and open again, user should be keep as variation 0.
f
fresh-football-47124
03/14/2022, 5:58 AM
Hi Herb - GrowthBook uses deterministic hashing, so as long as the hash attribute remains the same, the user will get the same variation.
h
helpful-carpenter-3208
03/14/2022, 6:08 AM
I mean how this happen if the App exist. my understanding is the feature flag API only provide the definition of the feature flag and not stored any user specific decision. so on user side there must be some sort of persist way to achieve it.
f
fresh-football-47124
03/14/2022, 6:26 AM
yes, that's right - do you have any user attribute on your app side you can use?
h
helpful-carpenter-3208
03/14/2022, 6:28 AM
yes we have. the reason why I’m asking this is because we need to replace our own feature flag utils with the growthbook. so needs to confirm it’s correctly split the traffic. we use the local storage for the RN. so not sure how you guys persist the data
f
fresh-football-47124
03/14/2022, 6:37 AM
we don't do any persisting - the deterministic hashing is all we use