naoufal/react-native-payments

[iOS][ApplePay] shippingoptionchange event is always triggering twice, resetting the first option in all cases

nmilcoff opened this issue · 0 comments

I think this wasn't noticed because the "new" iOS example doesn't require a ShippingAddress/ShippingOption. But given the current condition, when the selected option changes in the Apple Payment Sheet, the event is always fired twice.

PR incoming!