diff --git a/CHANGELOG.md b/CHANGELOG.md index a73409393..0dc0d545c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 `` 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: diff --git a/android/build.gradle b/android/build.gradle index e0eed3a8a..b4dcb30cf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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' diff --git a/android/gradle.properties b/android/gradle.properties index dbd85962a..83d05a20c 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,2 +1,2 @@ StripeSdk_kotlinVersion=1.6.10 -StripeSdk_stripeVersion=20.1.+ +StripeSdk_stripeVersion=20.3.+ diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 223d0fb60..60c9826ce 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -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