Flutter_blue: iOS support

Created on 6 Sep 2017  Â·  8Comments  Â·  Source: pauldemarco/flutter_blue

An Objective-C implementation is still needed on iOS side.

Most helpful comment

Hi @pauldemarco I'm planning to do a PR for this issue. I'm trying to to use CoreBluetooth Objective C framework to implement the native functionality, but I can't seem to figure out a way to install the new framework into ios Flutter. Do you have any resources for this?
Thanks

All 8 comments

Hi, is the iOS implementation in development at the moment?

Hi Johannes,

It is not, feel free to send PRs :)

On Dec 11, 2017 7:31 PM, "JohannesTr" notifications@github.com wrote:

Hi, is the iOS implementation in development at the moment?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pauldemarco/flutter_blue/issues/20#issuecomment-350904462,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP829uXAaDjjSSbMELwi9AX617mavvIIks5s_clYgaJpZM4POrHz
.

Hi @pauldemarco I'm planning to do a PR for this issue. I'm trying to to use CoreBluetooth Objective C framework to implement the native functionality, but I can't seem to figure out a way to install the new framework into ios Flutter. Do you have any resources for this?
Thanks

Is there a branch for this somewhere? Is it possible to just port cordova iOS plugin?
https://github.com/don/cordova-plugin-ble-central

I designed the API with both Android and iOS in mind, it should be fairly straight forward to implement. I unfortunately don't have the time or the Objective-C experience to get this done at the moment.

Feel free to send PR's :+1:

I don't know Objective-C either, but the Cordova plugin has a very similar API and is Apache 2.0 licensed. If someone could take a look and see if this could speed up implementation it would be great.

I looked into it more and I think if someone can implement just one of the methods in iOS (such as scan) I could figure out the rest.

The majority of functionality has been implemented for iOS, with the exception of a couple minor issues needing Dart and Android changes as well.

I'll be closing this, please open up new issues if you run into iOS bugs.

Thanks everyone for your patience!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brianegan picture brianegan  Â·  5Comments

ened picture ened  Â·  6Comments

M3sca picture M3sca  Â·  3Comments

coduy96 picture coduy96  Â·  5Comments

Fleximex picture Fleximex  Â·  3Comments