OK
OK2mo ago

How to connect flutter and Convex

I am gonna make the Chatting app. Can be connected Flutter and Convex?
8 Replies
Convex Bot
Convex Bot2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Nicolas
Nicolas2mo ago
Hey! Convex doesn’t support Flutter/Dart at the moment. Some things you can do instead: — There is an HTTP api (https://docs.convex.dev/http-api/) that you can use to call your Convex functions (but you can't get realtime updates with it) — If you’re writing an app for the Dart web platform (i.e. only writing an app that executes in the browser), you could try using Dart’s JavaScript interoperability (https://dart.dev/interop/js-interop) to use the Convex JavaScript client — You could try using FFI to wrap our Rust client (https://docs.rs/convex/latest/convex/) in your Dart code (for instance using https://thlorenz.com/rid-site/)
Convex HTTP API | Convex Developer Hub
Connecting to Convex directly with HTTP
JavaScript interoperability
Integrate JavaScript code into your Dart web app.
convex - Rust
Convex Client
OK
OKOP2mo ago
thank you
Nicolas
Nicolas2mo ago
You're welcome!
v
v4w ago
Dart packages
convex_flutter | Flutter package
A Flutter package for Convex backend integration, enabling developers to interact with Convex services, manage data, and build applications with real-time synchronization.
Indy
Indy4w ago
cc @Mohan Singh who built that flutter package
v
v4w ago
Cc AI and whoever built convex mobile because that was a high help 😂 I'm excited to see what people make of this package. its a good starting point... I hope to see some cool stuff. Thanks again @Mohan Singh
OK
OKOP3w ago
Thanks everybody

Did you find this page helpful?