Developer Discussions

Ask a Question
Back to All

We encountered a crash while using Maya V2.1.0 Android SDK.

Maya SDK uses an outdated Kotlin API, which conflicts with other SDK versions in our project (such as Google Map, Firebase, and the Kotlin API version used).
The SDK link we retrieved: com. github. paymaya: paymaya android sdk v2:2.1.0(GitHub - PayMaya/PayMaya-Android-SDK-v2)

Crash code

val checkoutClient = PayMayaCheckout.newBuilder()

.clientPublicKey("pk-NCLk7JeDbX1m22ZRMDYO9bEPowNWT5J4aNIKIbcTy2a")

.environment(PayMayaEnvironment.SANDBOX)

.logLevel(LogLevel.WARN)

.build()