dwyl / dwyl/learn-flutter

Flutter and Phoenix channels

Open
#61 9 comments 2 reactions 0 assignees View on GitHub
documentation enhancement good first issue help wanted priority-1 research spike T1d technical
Dominant language
JavaScript
Stars
98
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Flutter/Dart currently only has one Phoenix client library so we have two approaches to integrate Flutter and Phoenix:

+ Use the existing library: https://github.com/mfeckie/phoenix_wings
This is probably the easiest option, but we will run into some bugs/edge cases, such as heartbeat `ack`s that aren't
implemented by this library so we may have to make changes anyway.

+ Run our own on top of Darts [web_socket_channel](https://pub.dev/packages/web_socket_channel)
phoenix.js `cloc`s in at around 800 lines of OO JavaScript code, so it wouldn't be a huge task to port this over to dart.
This would provide us with a consistent API with the official library. I'm happy to do this as a "learn dart" exercise

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.