Skip to content
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

[Feature]: Convert To Federated Plugin #824

Closed
FXschwartz opened this issue Mar 28, 2024 · 1 comment
Closed

[Feature]: Convert To Federated Plugin #824

FXschwartz opened this issue Mar 28, 2024 · 1 comment
Labels
feature Feature request

Comments

@FXschwartz
Copy link

FXschwartz commented Mar 28, 2024

What is your feature request?

Converting flutter_blue_plus to a federated plugin would greatly help implementing support for additional platforms.

@chipweinberger I know you've voiced concerns about the additional complexity of this but I think even if we decided to not endorse additional platforms, converting this to a federated plugin would help other developers create non endorsed platform integration.

Adding support for additional platforms through a fork in the current implementation while would still be beneficial would be extremely risky to use in production applications as it could break at any moment.

Parts of this have been discussed in #6

@FXschwartz FXschwartz added the feature Feature request label Mar 28, 2024
@chipweinberger
Copy link
Owner

chipweinberger commented Mar 28, 2024

Thanks for filing. I don't plan to switch to federated.

More importantly, no one is working on Windows or Linux support. So switching to federated would just be a waste of my time.

If people want other platforms, they should just use a platform channel, as discussed in #6.

Windows example:

flutter::MethodChannel<EncodableValue>>(
          registrar->messenger(), "flutter_blue_plus/methods",
          &flutter::StandardMethodCodec::GetInstance());

But again, no one is working on Windows & Linux support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants