Skip to main content
Solved

Flutter: Reply already submitted

  • 23 September 2021
  • 2 replies
  • 2593 views

Forum|alt.badge.img+4

Anyone had this crash?

 

Fatal Exception: java.lang.IllegalStateException: Reply already submitted
       at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:164)
       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238)
       at com.revenuecat.purchases_flutter.PurchasesFlutterPlugin$5.onReceived(PurchasesFlutterPlugin.java:584)
       at com.revenuecat.purchases.hybridcommon.CommonKt$restoreTransactions$2.invoke(common.kt:187)
       at com.revenuecat.purchases.hybridcommon.CommonKt$restoreTransactions$2.invoke(common.kt)
       at com.revenuecat.purchases.ListenerConversionsKt$receivePurchaserInfoListener$1.onReceived(listenerConversions.kt:127)
       at com.revenuecat.purchases.Purchases$retrievePurchaseInfo$1.invoke(Purchases.kt:846)
       at com.revenuecat.purchases.Purchases$retrievePurchaseInfo$1.invoke(Purchases.kt:98)
       at com.revenuecat.purchases.PurchasesKt$sam$java_lang_Runnable$0.run(Purchases.kt)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:7325)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Best answer by Maddie

Hey @Meu Cronograma Capilar, we have some updates on the GitHub issue if you’re interested! 

TLDR -- there is a bug in Google’s BillingClient that results in the listener being called twice. We’ve filed an issue with them and are working on a patch in the meantime. Feel free to follow the GitHub issue for further updates! 

View original
Did this post help you find an answer to your question?

2 replies

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • September 24, 2021

Thanks for the crash report! Did you open this related GitHub issue for this crash? Our mobile engineers are looking into it and it would be helpful to know if you opened that issue. Mentioning @Maddie to keep her in the loop.


Forum|alt.badge.img+3
  • Contributor
  • 31 replies
  • Answer
  • October 1, 2021

Hey @Meu Cronograma Capilar, we have some updates on the GitHub issue if you’re interested! 

TLDR -- there is a bug in Google’s BillingClient that results in the listener being called twice. We’ve filed an issue with them and are working on a patch in the meantime. Feel free to follow the GitHub issue for further updates! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings