-
-
Notifications
You must be signed in to change notification settings - Fork 210
Error in console for realtime DartError: TypeError: Instance of 'JSArray<dynamic>': type 'List<dynamic>' is not a subtype of type 'List<Binding>' #1126
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
Comments
Do you just run the application in web, and you see the error, or do you run a hot-restart before seeing the error? For me, it required a hot-restart to reproduce this issue. |
@Vinzent03 Just run |
I still cannot reproduce your issue without a hot-restart. Could you please elaborate a bit more about how you reproduce it? Does it happen immediately or some minutes later? I'm a bit confused that the error happens due to a reconnect. So somehow your connection is not stable, or you disconnect manually? Please create a full example and verify you are still able to reproduce the issue. |
Related to #1122. |
I can reproduce the issue after a hot-restart in my own project without a hot-restart. Tested in
However, I get application-breaking casting errors in WebAssembly after deploying to production and I suppose they are of the same origin. I will share more information if I should discover this to be true. |
Same issue for me when running the app on web only. |
Same probleme here :( |
Same problem here on web, but only when using hot reload. If I stop and then run the app again, there is no error in console. |
Same error here Superbase+FlutterFlow
|
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Unknown console error when initializing the realtime listener
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be in console, but shows
DartError: TypeError: Instance of 'JSArray< dynamic >': type 'List< dynamic >' is not a subtype of type
'List< Binding >'
Screenshots

Version (please complete the following information):
├── supabase_flutter 2.8.4
│ ├── supabase 2.6.3
│ │ ├── functions_client 2.4.1
│ │ ├── gotrue 2.11.1
│ │ ├── postgrest 2.4.1
│ │ ├── realtime_client 2.4.2
│ │ ├── storage_client 2.3.1
Additional context
Supabase.instance.client .channel('public:name') .onPostgresChanges( event: PostgresChangeEvent.all, schema: 'public', table: 'name', callback: (payload) {}, ) .subscribe();
The text was updated successfully, but these errors were encountered: