-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path #9
Comments
What version of the plugin are you using? |
Although I'm little confused as why |
yes I can confirm that this is working for me now. I can now receive objects. But as tomas says, there is no way to tell which of the HubMethods triggered the hubCallback. |
Thank you for the feedback and as for the |
im getting this exception when server sends a json. Its ok with receiving strings but im in trouble with jsons. Any suggestions? @AyonAB Edit: I fixed this issue by changing in kotlin code hub.on method class type String to Object and casted received object to string.I can open pull request if its ok |
I get this message on HubCallBack methods. The issue only exists in the Android.
I/flutter ( 8673): java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $
_signalRCallbackHandler Throws an exception.
The text was updated successfully, but these errors were encountered: