dotintent / FlutterBleLib

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

please update to null safety, thank you! #618

Open GarrettLi77 opened 2 years ago

matteocordray commented 2 years ago

What's the work around for this?

brian-quah commented 2 years ago

@matteocordray

What's the work around for this?

As with any project that uses plugins that have yet to be migrated to null safety, run/build with the option --no-sound-null-safety

For example: To build apk: flutter build apk --no-sound-null-safety To run: flutter run --no-sound-null-safety To integrate with VSCode IDE launching: In .vscode/launch.json, Add "--no-sound-null-safety" under the configurations.args array.

matteocordray commented 2 years ago

@brian-quah Thank you! I ended up just moving to another library instead. I didn’t want to move away from null safety.

ziyadmansy commented 2 years ago

@brian-quah Thank you! I ended up just moving to another library instead. I didn’t want to move away from null safety.

Would you tell me which package you have used instead?

matteocordray commented 2 years ago

It's called Flutter Reactive BLE @ziyadmansy. It's apparently made by Phillips Hue so it seems like it will have decent support:

Flutter Reactive BLE Library