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 9a270a3 commit 349a396Copy full SHA for 349a396
Branch-SDK-Tests/BranchEvent.Test.m
@@ -271,8 +271,9 @@ - (void) testExampleSyntax {
271
272
BranchEvent *event = [BranchEvent standardEvent:BranchStandardEventCompleteRegistration];
273
event.eventDescription = @"Product Search";
274
- event.searchQuery = @"product name";
275
- event.customData[@"rating"] = @"5";
+ event.searchQuery = @"product name";
+ event.customData = @{ @"rating": @"5" };
276
+
277
[event logEvent];
278
}
279
0 commit comments