You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash on Android: outdated paystack-ui:0.0.8 pin causes NoSuchMethodError on AnimatedContent — please bump to 0.0.9/0.0.10 #21
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.
Activity