-
Notifications
You must be signed in to change notification settings - Fork 355
Federated plugin structure #338
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
Conversation
… plugin structure
9432cef
to
bde778c
Compare
bde778c
to
1a2f4bc
Compare
1a2f4bc
to
d384b79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly some nits, so looks good 👍
Also tested the example app and runs/connects without issues.
packages/reactive_ble_platform_interface/lib/src/reactive_ble_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/reactive_ble_platform_interface/lib/src/reactive_ble_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/reactive_ble_platform_interface/lib/src/reactive_ble_platform_interface.dart
Outdated
Show resolved
Hide resolved
2ddf4d6
to
52eec7b
Compare
52eec7b
to
9dd18cc
Compare
@PieterAelse thanks for the review. I fixed all the comments can you look to it again and give your final verdict? I updated all versions to |
@remonh87 Approved with one missed comment still open, but not a biggie: #338 (comment) |
1271468
to
6786434
Compare
Looks good! Just one question, right now all platform packages a visible on pub.dev. It would be better to unlist al plaform specific packages, and just list the front-facing flutter_reactive_ble package. Otherwise people will try to implement platform specific packages. You can change this on the pub.dev package admin panel. |
@juliansteenbakker thanks for the tip I fixed it directly wasn't aware this is possible :) |
* move current code one folder deeper in order to prepare the federated plugin structure * create platform interface package * move model and plugincontroller to platform interface * remove moved code from main library * create platform interface and integrate it in the reactive ble package * remove debuglogging * move protobuf related stuff out of the interface package * change codemagic pipeline to support federated plugin structure * make platform interface ready for publishing * add docs for platform interface * restructure project to best practice * rename package flutter_reactive_ble_platform_interface to reactive_ble_platform_interface * move mobile specific code into new reactive ble mobile package * setup CI and melos * update docs and prepare release * fix dependencies after publishing
I changed the structure a bit based on best practices from Google / Baseflow and Firebase plugins (NO ADDITIONAL FUNCTIONALITY IS CHANGED).
The structure:
todo: