Skip to content

Commit

Permalink
chore: Upgrade stripe-android to 20.3.+ (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecruzan-stripe authored May 18, 2022
1 parent 07a5b17 commit 7538dba
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## Unreleased

### Breaking changes

### New features

- Card scanning is available in payment sheet on Android. [#944](https://github.com/stripe/stripe-react-native/pull/944)
- To enable this, you will need to add `implementation 'com.stripe:stripecardscan:20.3.+'` to your `dependencies {}` block in `android/app/build.gradle`.
- `us_bank_account` payment method is now available in the payment sheet on Android. [#944](https://github.com/stripe/stripe-react-native/pull/944)

### Fixes

## 0.9.0

- [#913](https://github.com/stripe/stripe-react-native/pull/913) BREAKING CHANGE: Changed props for the `<AddToWalletButton />` component. Instead of passing `cardHolderName`, `cardLastFour`, `cardDescription`, and `cardBrand` directly as props, you will instead pass a `cardDetails` prop, which is an object containing the following fields:
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1"
implementation "com.stripe:stripe-android:$stripe_version"
implementation "com.stripe:connections:$stripe_version"
implementation "com.stripe:financial-connections:$stripe_version"
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
StripeSdk_kotlinVersion=1.6.10
StripeSdk_stripeVersion=20.1.+
StripeSdk_stripeVersion=20.3.+
2 changes: 2 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ dependencies {
// WeChat is currently disabled in the mobile SDKs
// implementation 'com.stripe:stripe-wechatpay:17.1.0'
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.0'
// Uncomment to enable card scanning in payment sheet:
// implementation 'com.stripe:stripecardscan:20.3.+'
// END STRIPE DEPENDENCIES

// TODO: Remove after upgrade to React Native 0.68
Expand Down

0 comments on commit 7538dba

Please sign in to comment.