AS-Devs / signalr_flutter

A flutter plugin for .net SignalR client.
https://pub.dev/packages/signalr_flutter
MIT License
18 stars 29 forks source link

Occasional crash on android devices #50

Open st-jwerner opened 1 year ago

st-jwerner commented 1 year ago

Hello, we were going over crash statistics for our app and noticed that signalr may be the cause of couple crash reports. We are still using version v0.1.2 because we had some problems when we tried to update it (See https://github.com/AS-Devs/signalr_flutter/issues/49). Unfortunately since we are only going off of androids built in crash reporting all we have is the following:

Exception java.lang.IllegalStateException: Reply already submitted
  at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply (DartMessenger.java)
  at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error (MethodChannel.java)
  at dev.asdevs.signalr_flutter_appbundle.SignalR.invokeServerMethod$lambda$22$lambda$21 (SignalR.java)
  at dev.asdevs.signalr_flutter_appbundle.SignalR.lambda$QoVwa0wbfnRczJxZNQArsoNu7Ho (SignalR.java)
  at dev.asdevs.signalr_flutter_appbundle.-$$Lambda$SignalR$QoVwa0wbfnRczJxZNQArsoNu7Ho.run (-.java)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8741)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)

any help would be much appreciated!