Closed mahdisadeghi74 closed 2 months ago
See https://github.com/stripe/stripe-android/issues/7184 for the same issue.
See #7184 for the same issue.
ComposeUi of my project equal to 1.5.1 without alpha
See workaround here: https://github.com/stripe/stripe-android/issues/7184#issuecomment-1776245431
This has been fixed for a while, sorry for the issue. Please reopen if this is still happening.
Summary
Stripe crashes when I call paymentSheet.presentWithPaymentIntent(paymentIntentClientSecret). My libraries are updated according to Stripe's libraries. The error I receive is: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/ui/platform/LocalSoftwareKeyboardController;.
Code to reproduce
Just launch rememberPaymentSheet({}).presentWithPaymentIntent(paymentIntentClientSecret)
Android version
Android 13
Impacted devices
Poco F3
Installation method
implementation "com.stripe:stripe-android:20.32.1"
Dependency Versions
kotlin: 1.8.22 composeUi:1.5.1 composeMaterial:1.5.1 stripe-android: 20.32.1 Android Gradle Plugin: 8.1.1 Gradle: 8.3
SDK classes
PaymentSheetActivity
Other information
Here is error stacktrace: