Comments (6)
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.
from signalr_flutter.
What version of the plugin are you using?
If you are not using latest version then change it to the latest, which is v0.0.5 and do a flutter clean
after that.
from signalr_flutter.
i have the same issus:
java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $
happen when the backend send an object.
another thing, can you please add a callback by every subscribe HubMethod , cause sometimes, we need to specific thing by callback thanks so much
from signalr_flutter.
Although I'm little confused as why StatusChangeCallback
is raising this exception cause it was meant to be String
. I couldn't quite reproduce the issue but anyway did some changes for a possible fix. @tayyyab or @tomasgaray if any one of you can grab the latest pre-release version (0.0.6-dev.1) from the pub and test it, I'll be glad for that help.
from signalr_flutter.
Thank you for the feedback and as for the hubCallBack
, I'll looking into it once I get some time.
from signalr_flutter.
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
from signalr_flutter.
Related Issues (20)
- Cannot receive messages from server to my flutter apps HOT 2
- "channel-error" means what? HOT 2
- is it possible to open two websockets connection with SignalR HOT 4
- Error: java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $ HOT 8
- web & windows support HOT 1
- What is the proper way to send objects as arguments
- Occasional crash on android devices
- Source of the jars
- Connecting issue in ios HOT 1
- Providing detailed error log to client
- I get an error when the backend changes the ssl certificate
- SignalR Error: java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $ HOT 3
- Null Error While Connecting new Connection
- SignalR Error: Attempt to invoke virtual method 'void java.lang.reflect.Method.setAccessible(boolean)' on a null object reference HOT 1
- Streaming problem
- signalr error during negotiation request - signalr_flutter
- invokeMethod with class as parameter
- Will this plugin be supported? HOT 1
- The release version cannot receive messages HOT 1
- Deprecated imperative apply of Flutter's Gradle plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signalr_flutter.