PaoloGi / nexi_payment

Flutter plugin for Nexi Payment integration (XPay). Supports Web View payment
MIT License
2 stars 11 forks source link

Exception java.lang.IllegalStateException: Reply already submitted #8

Open QRCharlie opened 1 year ago

QRCharlie commented 1 year ago

The Play console shows in Crashes and ANRs the following error of type java.lang.IllegalStateException

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:263) at com.paologi.nexi_payment.NexiPaymentPlugin$1.onConfirm (NexiPaymentPlugin.java:119) at com.paologi.nexi_payment.NexiPaymentPlugin$1.onConfirm (NexiPaymentPlugin.java:114) at it.nexi.xpay.Models.WebViewClients.BaseWebViewClientQP.castXPayProtocol (BaseWebViewClientQP.java:151) at it.nexi.xpay.Models.WebViewClients.BaseWebViewClientQP.shouldOverrideUrlLoading (BaseWebViewClientQP.java:116) at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:83) at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:89) at android.os.MessageQueue.nativePollOnce at android.os.MessageQueue.next (MessageQueue.java:336) at android.os.Looper.loop (Looper.java:197) at android.app.ActivityThread.main (ActivityThread.java:8167) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)

The device affected is Samsung starqlteue (Galaxy S9) running Android 10 (SDK 29).