Skip to content

Commit

Permalink
Fixing the bundlecommerceevent config override
Browse files Browse the repository at this point in the history
  • Loading branch information
v-mamaya committed Nov 1, 2023
1 parent 7b6077a commit 26ba84a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/mParticle-Appboy/MPKitAppboy.m
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,6 @@ - (nonnull MPKitExecStatus *)logBaseEvent:(nonnull MPBaseEvent *)event {
- (MPKitExecStatus *)routeCommerceEvent:(MPCommerceEvent *)commerceEvent {
MPKitExecStatus *execStatus = [[MPKitExecStatus alloc] initWithSDKCode:@(MPKitInstanceAppboy) returnCode:MPKitReturnCodeSuccess forwardCount:0];

NSMutableDictionary *mutDict = [_configuration mutableCopy];
mutDict[bundleCommerceEventData] = @true;
_configuration = mutDict;

if (commerceEvent.action == MPCommerceEventActionPurchase) {
NSMutableDictionary *baseProductAttributes = [[NSMutableDictionary alloc] init];
NSDictionary *transactionAttributes = [self simplifiedDictionary:[commerceEvent.transactionAttributes beautifiedDictionaryRepresentation]];
Expand Down

0 comments on commit 26ba84a

Please sign in to comment.