A pure Dart implementation of the COBI.Bike DevKit built on top of Flutter Web.
For getting started with Flutter web, see
their readme.
Then, add another dependency for this library in the pubspec.yaml
:
dependencies:
# ...
devkit: any
dependency_overrides:
devkit:
git:
url: https://github.com/simolus3/devkit_dart
path: devkit
A working example can be found here,
the relevant lines are highlighted. Don't forget to set Cobi.simulatorCompatibility
to
true
before initializing the Cobi
object when testing in the Simulator.
/devkit
: Main API, to be used by developers/message_compiler
: Responsible to generate serialization and deserialization code used to communicate with the host app. Only used during development of this library.
I'll write a bunch of example modules and put them in the /modules
subfolder.
This project is not affiliated with, or endorsed by, COBI.Bike.