Describe the bug
paystack_flutter_sdk crashes on Android when the payment sheet opens: NoSuchMethodError on AnimatedContent inside PaymentContainerUiKt. Root cause: the plugin's android/build.gradle pins com.paystack.android:paystack-ui:0.0.8, which is outdated. Maven Central already has 0.0.9 and 0.0.10: https://central.sonatype.com/artifact/com.paystack.android/paystack-ui/versions
Please bump the pinned paystack-ui version in this plugin — it's due for an upgrade regardless, and it may already fix this crash.
To Reproduce
- Use
paystack_flutter_sdk: ^0.0.1-alpha.2 on Android
- Launch the payment sheet
- App crashes immediately
Expected behavior
Payment sheet opens without crashing.
Stack trace
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoSuchMethodError: No static method AnimatedContent(...)V in class Landroidx/compose/animation/AnimatedContentKt;
at com.paystack.android.ui.PaymentContainerUiKt.PaymentContainerUi(PaymentContainerUi.kt:89)
at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$PaymentSheetUI$2.invoke(PaymentSheetActivity.kt:84)
...
Device
Android 14, target SDK 37, reproduced on emulator and physical devices.
Additional context
Confirmed this isn't a dependency conflict on our end — our app manually bumps to com.paystack.android:paystack-ui:0.0.11 and works fine. The crash is coming from paystack-ui:0.0.8 itself.
Describe the bug
paystack_flutter_sdkcrashes on Android when the payment sheet opens:NoSuchMethodErroronAnimatedContentinsidePaymentContainerUiKt. Root cause: the plugin'sandroid/build.gradlepinscom.paystack.android:paystack-ui:0.0.8, which is outdated. Maven Central already has0.0.9and0.0.10: https://central.sonatype.com/artifact/com.paystack.android/paystack-ui/versionsPlease bump the pinned
paystack-uiversion in this plugin — it's due for an upgrade regardless, and it may already fix this crash.To Reproduce
paystack_flutter_sdk: ^0.0.1-alpha.2on AndroidExpected behavior
Payment sheet opens without crashing.
Stack trace
Device
Android 14, target SDK 37, reproduced on emulator and physical devices.
Additional context
Confirmed this isn't a dependency conflict on our end — our app manually bumps to com.paystack.android:paystack-ui:0.0.11 and works fine. The crash is coming from
paystack-ui:0.0.8itself.