simolus3 / devkit_dart

Experimental COBI.Bike DevKit bindings for Flutter Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevKit Dart

A pure Dart implementation of the COBI.Bike DevKit built on top of Flutter Web.

Using

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.

Project structure

  • /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.

About

Experimental COBI.Bike DevKit bindings for Flutter Web


Languages

Language:Dart 99.4%Language:HTML 0.6%