Skip to content

Commit ac07264

Browse files
WIP: Check valid vuid when sending initialize event
1 parent 8ba9e4e commit ac07264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-sdk/src/main/java/com/optimizely/ab/android/sdk/OptimizelyClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class OptimizelyClient {
8080
So, we start with an empty map of default attributes until the manager is initialized.
8181
*/
8282

83-
if (isValid()) {
83+
if (isValid() && vuid != null && VuidManager.isVuid(vuid)) {
8484
// identifiers are empty here since vuid will be inserted by java-sdk core
8585
sendODPEvent(null, "client_initialized", null, null);
8686
}

0 commit comments

Comments
 (0)