You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've found a problem on RNBraintreeDropIn.m file. The app was crashing when I tried to use apple pay option. I've investigated the code and I noticed paymentMethodType for apple pay was 17.
the existing code is like that:
Hi,
I've found a problem on RNBraintreeDropIn.m file. The app was crashing when I tried to use apple pay option. I've investigated the code and I noticed paymentMethodType for apple pay was 17.
the existing code is like that:
if(result.paymentMethod == nil && (result.paymentMethodType == 16 || result.paymentMethodType == 18)){ //Apple Pay
I've added new one to handle the case
if(result.paymentMethod == nil && (result.paymentMethodType == 16 || result.paymentMethodType == 17 || result.paymentMethodType == 18)){ //Apple Pay
after that fix, it was looking working. I can make payments by using apple pay option.
Can I use this fix on my production app?
thanks.
The text was updated successfully, but these errors were encountered: