From 31d8b0c750f71f0e023a3742d70426539a8c39ca Mon Sep 17 00:00:00 2001 From: Tyler Clawson Date: Thu, 21 Nov 2024 14:13:42 -0500 Subject: [PATCH] Test --- android/build.gradle | 14 ++++++++++++++ android/gradle.properties | 2 +- .../reactnativestripesdk/PaymentSheetFragment.kt | 1 - example/android/app/build.gradle | 15 +++++++++++++++ example/ios/Podfile.lock | 6 +++--- 5 files changed, 33 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1385afa28..61c85d4f0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -141,6 +141,20 @@ dependencies { implementation ("com.stripe:financial-connections:$stripe_version") { exclude group: 'androidx.emoji2', module: 'emoji2' } + implementation ("androidx.lifecycle:lifecycle-livedata-core:2.8.7") + { + version { + strictly '2.7.0' + } + } + // END TODO + + // TODO: Remove after upgrading react-native-screens + implementation ("androidx.fragment:fragment-ktx:1.8.5") { + version { + strictly '1.6.2' + } + } implementation('androidx.emoji2:emoji2:1.3.0').force // Avoid using 1.4.0 since that requires targetSdkVersion 34 implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.appcompat:appcompat:1.4.1' diff --git a/android/gradle.properties b/android/gradle.properties index 3f1ecff88..a2d76a93e 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,3 @@ StripeSdk_kotlinVersion=1.8.0 # Keep StripeSdk_stripeVersion in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/android/gradle.properties -StripeSdk_stripeVersion=20.52.+ +StripeSdk_stripeVersion=20.53.+ diff --git a/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt b/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt index cbc6e0486..f7245bcbc 100644 --- a/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +++ b/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt @@ -55,7 +55,6 @@ class PaymentSheetFragment( } } - @OptIn(ExperimentalPaymentMethodLayoutApi::class) override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) val merchantDisplayName = arguments?.getString("merchantDisplayName").orEmpty() diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 521f63427..ee2af7e1c 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -283,6 +283,21 @@ dependencies { } } // END TODO + + implementation ("androidx.lifecycle:lifecycle-livedata-core:2.8.7") + { + version { + strictly '2.7.0' + } + } + // END TODO + + // TODO: Remove after upgrading react-native-screens + implementation ("androidx.fragment:fragment-ktx:1.8.5") { + version { + strictly '1.6.2' + } + } implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 96178ee82..9b848bbcd 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -305,7 +305,7 @@ PODS: - StripePayments (= 23.32.0) - StripePaymentsUI (= 23.32.0) - StripeUICore (= 23.32.0) - - stripe-react-native (0.38.6): + - stripe-react-native (0.39.0): - React-Core - Stripe (~> 23.32.0) - StripeApplePay (~> 23.32.0) @@ -313,7 +313,7 @@ PODS: - StripePayments (~> 23.32.0) - StripePaymentSheet (~> 23.32.0) - StripePaymentsUI (~> 23.32.0) - - stripe-react-native/Tests (0.38.6): + - stripe-react-native/Tests (0.39.0): - React-Core - Stripe (~> 23.32.0) - StripeApplePay (~> 23.32.0) @@ -512,7 +512,7 @@ SPEC CHECKSUMS: RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1 RNScreens: fa9b582d85ae5d62c91c66003b5278458fed7aaa Stripe: d546a79759fb2b0983076d2551096b91d032693a - stripe-react-native: f72717815a4eba2b584518cc16aa86c844e97fc2 + stripe-react-native: 68190b99626015b0c2c148281b46ad146e218d74 StripeApplePay: fd4aeaa8af1ebbfe5e38390ef7b4607f66494f80 StripeCore: 4999b0c234127b28b9e656caa558ba4406ce58b3 StripeFinancialConnections: 4e50d2395e74c7637f84fc9d89fa5740b8240f49