diff --git a/android/gradle.properties b/android/gradle.properties index a2d76a93e..3f1ecff88 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.53.+ +StripeSdk_stripeVersion=20.52.+ diff --git a/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt b/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt index f7245bcbc..cbc6e0486 100644 --- a/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +++ b/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt @@ -55,6 +55,7 @@ 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 2009f427a..4bf45739d 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -284,23 +284,6 @@ dependencies { } // END TODO - // TODO: Remove after upgrading react-native-screens - 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' - } - } - // END TODO - implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules