File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,6 @@ class OptimizelyClientWrapper {
371
371
372
372
if (checkCallBackExist (sdkKey, callback)) {
373
373
// ignore: avoid_print
374
- print ("callback already exists." );
375
374
return - 1 ;
376
375
}
377
376
@@ -417,7 +416,6 @@ class OptimizelyClientWrapper {
417
416
418
417
if (checkCallBackExist (sdkKey, callback)) {
419
418
// ignore: avoid_print
420
- print ("callback already exists." );
421
419
return - 1 ;
422
420
}
423
421
@@ -440,7 +438,6 @@ class OptimizelyClientWrapper {
440
438
441
439
if (checkCallBackExist (sdkKey, callback)) {
442
440
// ignore: avoid_print
443
- print ("callback already exists." );
444
441
return - 1 ;
445
442
}
446
443
@@ -464,7 +461,6 @@ class OptimizelyClientWrapper {
464
461
465
462
if (checkCallBackExist (sdkKey, callback)) {
466
463
// ignore: avoid_print
467
- print ("callback already exists." );
468
464
return - 1 ;
469
465
}
470
466
Original file line number Diff line number Diff line change @@ -136,7 +136,15 @@ class TestUtils {
136
136
Constants .eventKey: "$id " ,
137
137
Constants .userId: "test" ,
138
138
Constants .attributes: {"test" : id},
139
- Constants .eventTags: {"testTag" : id}
139
+ Constants .eventTags: {
140
+ "testTag" : id,
141
+ "nestedTag" : {
142
+ "string_key" : "stringValue" ,
143
+ "int_key" : 123 ,
144
+ "double_key" : 123.456 ,
145
+ "bool_key" : true
146
+ }
147
+ }
140
148
};
141
149
handler (MethodCall (Constants .trackCallBackListener, {
142
150
Constants .id: id,
@@ -152,6 +160,12 @@ class TestUtils {
152
160
Constants .attributes: {"test" : id},
153
161
Constants .eventTags: {
154
162
"testTag" : id,
163
+ "nestedTag" : {
164
+ "string_key" : "stringValue" ,
165
+ "int_key" : 123 ,
166
+ "double_key" : 123.456 ,
167
+ "bool_key" : true
168
+ },
155
169
"client_name" : clientName,
156
170
"client_version" : sdkVersion
157
171
}
You can’t perform that action at this time.
0 commit comments