dotintent / FlutterBleLib

Bluetooth Low Energy library for Flutter with support for simulating peripherals
Apache License 2.0
531 stars 195 forks source link

Support macos platform #579

Open ekuleshov opened 3 years ago

ekuleshov commented 3 years ago

It looks like https://github.com/Polidea/RxBluetoothKit supports both iOS and OSX platforms.

Would it be possible to add support for macos in the FlutterBleLib. The code supposedly should be similar to what's there for iOS.

mikolak commented 3 years ago

I don't know much about either iOS or macOS. Since the only real dependency is Core Bluetooth, supported by both platforms, I'd imagine it possible to just use the iOS dependency and write only the bridging code, possibly reusing or linking most of the code from the iOS, as it's written in obj-c. Unfortunately my time for the library is severely limited, so unless I get a PR with it, it's gonna be the decision of the team that takes over.