Skip to content

Commit

Permalink
Update RNBraintreeDropIn.m
Browse files Browse the repository at this point in the history
Update Applepay Code 17
  • Loading branch information
wgltony authored Apr 25, 2023
1 parent 0e788e0 commit 7e4f2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNBraintreeDropIn.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ - (dispatch_queue_t)methodQueue
} else{
[[self class] resolvePayment:result deviceData:self.deviceDataCollector resolver:resolve];
}
} else if(result.paymentMethod == nil && (result.paymentMethodType == 16 || result.paymentMethodType == 18)){ //Apple Pay
} else if(result.paymentMethod == nil && (result.paymentMethodType == 16 || result.paymentMethodType == 17 || result.paymentMethodType == 18)){ //Apple Pay
// UIViewController *ctrl = [[[[UIApplication sharedApplication] delegate] window] rootViewController];
// [ctrl presentViewController:self.viewController animated:YES completion:nil];
UIViewController *rootViewController = RCTPresentedViewController();
Expand Down

0 comments on commit 7e4f2ce

Please sign in to comment.