I'm trying to use the below code from the Optimizely docs :
Map<String, Object> attributes = new HashMap<>();
attributes.put("device", "iPhone");
attributes.put("lifetime", 24738388);
attributes.put("is_logged_in", true);
Boolean enabled = optimizelyClient.isFeatureEnabled("new_feature", "user123", attributes);
In the optimizely api , I have the experiment setup as "new_feature" with variation key as "var1" and user attributes for audience targeting with those above attributes. I have whitelisted the user123. But I don't think my experiment is getting activated or receiving any traffic. Am I missing anything here? Any hints are helpful?