Open yebo0505 opened 7 months ago
Hello, @yebo0505
Thank you for the details.
Can you please specify the following:
Appreciate the information, @yebo0505
Just to clarify, did this issue arise following any recent updates or modifications to your app? If yes, could you detail those changes?
Hi,I found that my company's app versions 1.0, 1.0.1 and 1.0.2 did not do anything on the received push messages,just print messages, and no exception were collected. However, in the following three versions, in pushwoosh. onPushAccepted.Listen () and pushwoosh.onDeepLinkOpened. Listen (), I processed the message , jump to the specified page, has collected the exception
We are investigating the issue, @yebo0505 I will get back to you as soon as I get any new information
@yebo0505 Hi,
We were unable to reproduce the issue, so there is no fix for it yet. However, I wrapped all Result.success()
calls in try-catch in the latest version of the package, so at least it won't crash the app now until find a proper solution to it.
This issue will remain open until it is properly resolved.
I only used the following functions :pushwoosh.registerForPushNotifications(), pushwoosh.onPushReceived.listen(),pushwoosh.onPushAccepted.listen(),pushwoosh.onDeepLinkOpened.listen(),some smartphone has IllegalStateException:
Exception java.lang.IllegalStateException: Reply already submitted at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success at com.pushwoosh.plugin.PushwooshPlugin$4.process (PushwooshPlugin.java) at com.pushwoosh.f0.d.a (d.java) at com.pushwoosh.internal.event.EventBus.b (EventBus.java) at com.pushwoosh.internal.event.EventBus.a (EventBus.java) at android.os.Handler.handleCallback (Handler.java:958) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce (Looper.java:230) at android.os.Looper.loop (Looper.java:319) at android.app.ActivityThread.main (ActivityThread.java:8919) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)