We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc91ac commit 20f9910Copy full SHA for 20f9910
test-app/src/main/java/com/optimizely/ab/android/test_app/MyApplication.java
@@ -56,6 +56,9 @@ public String getAnonUserId() {
56
String id = sharedPreferences.getString("userId", null);
57
if (id == null) {
58
id = UUID.randomUUID().toString();
59
+
60
+ // comment this out to get a brand new user id every time this function is called.
61
+ // useful for incrementing results page count for QA purposes
62
sharedPreferences.edit().putString("userId", id).apply();
63
}
64
return id;
0 commit comments