Skip to content

Commit c5393bf

Browse files
committed
SDK-523 correct api name on iOS
1 parent 709fe76 commit c5393bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
* Switch to Cocoapods
77
* Switch to Maven
88
* Add CPID and LATD methods
9+
* Add Event alias
910

1011
Known issues:
11-
iOS command line build fails due to switch to cocoapods. https://github.com/apache/cordova-ios/issues/659
12+
iOS command line build fails due a cordova issue, workaround is to build from xcode. https://github.com/apache/cordova-ios/issues/659
1213
CPID and LATD methods do not work on Android.
1314

1415
<a name="3.2.0"></a>

src/ios/BranchSDK.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ -(void)sendBranchEvent:(CDVInvokedUrlCommand*)command
279279
event.eventDescription = [metadata objectForKey:key];
280280
}
281281
else if ([key isEqualToString:@"customerEventAlias"]) {
282-
event.customerEventAlias = [metadata objectForKey:key];
282+
event.alias = [metadata objectForKey:key];
283283
}
284284
else if ([key isEqualToString:@"customData"] && [[metadata objectForKey:key] isKindOfClass:[NSMutableDictionary class]]) {
285285
event.customData = [metadata objectForKey:key];

0 commit comments

Comments
 (0)