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.
2 parents 5bc91ac + 20f9910 commit 558798cCopy full SHA for 558798c
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