Closed ABespolov closed 5 months ago
@ABespolov thank you for the report! working on it
Same problem here. A more deobfuscated stacktrace below
Fatal Exception: java.lang.IllegalStateException: Reply already submitted
at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:272)
at com.adapty.flutter.AdaptyCallHandler.handleAdaptyResult(AdaptyCallHandler.kt:235)
at com.adapty.flutter.AdaptyCallHandler.handleGetPaywall$lambda$8(AdaptyCallHandler.kt:116)
at com.adapty.internal.AdaptyInternal$getPaywall$1$2.invokeSuspend(AdaptyInternal.kt:200)
at com.adapty.internal.AdaptyInternal$getPaywall$1$2.invoke(AdaptyInternal.kt:1)
at com.adapty.internal.AdaptyInternal$getPaywall$1$2.invoke(AdaptyInternal.kt:2)
at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit(Emitters.kt:223)
at kotlinx.coroutines.flow.FlowKt__ErrorsKt$catchImpl$2.emit(Errors.kt:158)
at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:37)
at kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt(Channels.kt:1)
at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8163)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
Hi, we experience crashes in our application on android for some users; adapty_flutter: 2.9.0