-
Notifications
You must be signed in to change notification settings - Fork 484
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
feat: add linux platform #969
Conversation
looks pretty well done. please test extensively. |
Thank you very much for your feedback, I have updated the example and tested using this. |
a few things worth checking
That's all I can think of for now. It's overall good code. You might want to open a separate PR to update the example app with more functionality so you can test it:
Keep in mind, I don't want a "half complete" implementation merged, because it will cause a lot of new Github issues. It needs to be a full implementation. Federated PluginI've avoided it for awhile, but now that you are opening PRs for multiple platforms, I think we should switch to Federated.
Thoughts? |
The more I think about it, I think you should create a new package: Backwards compatible with |
I have put time and effort into these implementations and believe that they offer much of the compatible functionality, it is unfortunate that you feel that they are "half complete". If you think that there are areas of functionality missing that could be implemented, then I would like to work with you to get those missing pieces of functionality implemented. |
Really appreciate all your work Thomas.
Oh sorry, I do not mean to say yours is half complete. It's quite good. I just mean to say it needs to have all the edge cases considered before we merge :) |
I agree that a federated architecture makes more sense with multiple platforms. I am more than happy to attempt to convert the package to a federated architecture but I may need your assistance. |
MTU updates usually happen by calling |
This is something that I would be more than happy to do, including handling any issues arising from these platforms. Something along the lines of |
Ah, that makes sense, apologies for my naivety, I will endeavour to implement that method. |
RE: Federated The more I think about this, these are big changes, especially federated. I think you should consider a new package, You can use federated if you want.
There is a big problem, in that @boskokg may be deceased. I have not heard from him in almost a year, and have not been able to contact him. Without him, we cannot add more maintainers on GitHub. This is why we should probably switch to a new github repo anyway. |
For your additional questions:
|
Would it potentially be better to link to one of the other existing cross-platform packages, instead of creating another new cross-platform package? I agree that moving to a federated architecture would be a significant change, but we could version it as a breaking change of
I am sorry to hear this and I am not sure what the process may be to transfer ownership of packages in this scenario. |
I've looked, and they all have a very different user facing API. So there is demand for a cross platform package with the FBP api. That said, I'm going to add links to them anyway. The best I know of are: https://pub.dev/packages/bluetooth_low_energy, https://pub.dev/packages/quick_blue, https://pub.dev/packages/universal_ble
I do have control of the pub.dev package, just not the Github repo. |
I think that it would potentially make more sense for cross-platform support to be added to the |
Yes, to be honest, I'm about to take a very long vacation and potentially switch careers. So I don't have the bandwidth to handle these extra platforms. I plan to maintain ios/android, but I don't see myself doing big active development on this package. I strongly recommend a new package, and I'll link to it as a successor, when it is ready. |
To say a few more words, flutter_blue has long been the most popular BLE library for flutter. I've moved it along a lot in this past year, with flutter_blue_plus But it's ready for another person to take it to the next level: all platforms. a new package makes most sense IMO. flutter_blue_plus will be in maintenance mode for the foreseeable future. |
I would be happy maintaining packages for currently unimplemented platforms, but am not comfortable maintaining an entire |
what is your plan for this code, out of curiosity? yes, maintaining so many platforms is a lot of work 😅 so federated makes sense. FBP is still the most popular, well tested, feature rich, so I do hope someone takes it forward to other platforms. |
I was hoping to use
I would be happy to help federate the current package but have no interest publishing a separate federated clone. Federating the current package would allow third-parties (such as myself) to create non-endorsed (or endorsed if you choose) implementations for other platforms without additional maintenance or support overhead from yourself. |
if you federate the current package, ill probably merge it, assuming its not that hard to do. |
Hello. Just to say that I changed the company and I am not using ble for a long time. If you want, I can add contributors or switch ownership to someone else. Sorry for the late reply. Please contact me at [email protected] |
Thank you very much for agreeing to this (difficulty permitting). I will attempt to federate the current package, using the existing method channel as the default implementation. |
#6