npm @stripe/stripe-react-native 0.13.0

latest releases: 0.37.3, 0.37.2, 0.37.1...
23 months ago

Breaking changes

New features

  • Added a defaultValues prop to the CardForm component. Currently only accepts countryCode, and is Android-only. #974
  • Added the countryCode prop to the CardField component. #989
  • Added option to create a PII token (represents the details of personally identifiable information) to the createToken method. #976

Fixes

  • Resolve with an Error (of type Canceled) if no payment option is selected in the Payment Sheet custom flow (i.e., the x button is clicked to close the Payment Sheet). #975
  • Fixed an issue on Android where the complete field in the onCardChange callback would incorrectly be set to true even if the postal code wasn't filled out. #989
  • Make SetupIntent.lastSetupError and PaymentIntent.lastPaymentError object shape consistent on iOS and Android.#990

Please see the changelog for additional details.

Don't miss a new stripe-react-native release

NewReleases is sending notifications on new releases.