diff --git a/ios/RNBraintreeDropIn.m b/ios/RNBraintreeDropIn.m index 2380339..07df5d3 100644 --- a/ios/RNBraintreeDropIn.m +++ b/ios/RNBraintreeDropIn.m @@ -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();