File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1842,7 +1842,7 @@ - (void)registerViewWithParams:(NSDictionary *)params andCallback:(callbackWithP
18421842 [self initSessionIfNeededAndNotInProgress ];
18431843 BranchUniversalObject *buo = [[BranchUniversalObject alloc ] init ];
18441844 buo.contentMetadata .customMetadata = (id ) params;
1845- [BranchEvent standardEvent: BranchStandardEventViewItem withContentItem: buo];
1845+ [[ BranchEvent standardEvent: BranchStandardEventViewItem withContentItem: buo] logEvent ];
18461846 if (callback) callback (@{}, nil );
18471847}
18481848
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ - (void) shareDidComplete:(BOOL)completed activityError:(NSError*)error {
8181 [self .delegate branchShareLink: self didComplete: completed withError: error];
8282 }
8383 if (completed && !error)
84- [BranchEvent customEventWithName: BNCShareCompletedEvent contentItem: self .universalObject];
84+ [[ BranchEvent customEventWithName: BNCShareCompletedEvent contentItem: self .universalObject] logEvent ];
8585 NSDictionary *attributes = [self .universalObject getDictionaryWithCompleteLinkProperties: self .linkProperties];
8686 [BNCFabricAnswers sendEventWithName: @" Branch Share" andAttributes: attributes];
8787}
@@ -110,7 +110,7 @@ - (void) shareDidComplete:(BOOL)completed activityError:(NSError*)error {
110110 }
111111
112112 // Log share initiated event
113- [BranchEvent customEventWithName: BNCShareInitiatedEvent contentItem: self .universalObject];
113+ [[ BranchEvent customEventWithName: BNCShareInitiatedEvent contentItem: self .universalObject] logEvent ];
114114
115115 _activityItems = [NSMutableArray new ];
116116 BranchShareActivityItem *item = nil ;
You can’t perform that action at this time.
0 commit comments