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

Migrate plugin to null safety. #791

Merged
merged 13 commits into from
Mar 14, 2021
Merged

Migrate plugin to null safety. #791

merged 13 commits into from
Mar 14, 2021

Conversation

pauldemarco
Copy link
Owner

No description provided.

…ertisementData.

These classes should only ever be created using the .fromProto method, since they link directly to objects that exist platform-side.
If the end-user needs to create their own ScanResult/AdvertisementData, they should use their own models within their app.
lastValue for BluetoothCharacteristic and Descriptor will return an empty data list by default. Can never return null.
Consider performing a more explicit check of the proto value, and make sure it maps correctly to the Dart CharacteristicWriteType value.
E2E has moved to a new package, integration_test, and will need to be re-implemented.
@pauldemarco pauldemarco merged commit 8d8d954 into master Mar 14, 2021
@pauldemarco pauldemarco deleted the null-safety branch March 15, 2021 00:34
ManuelFMartinho pushed a commit to ManuelFMartinho/flutter_blue that referenced this pull request Nov 10, 2021
* master:
  function to turn or off bluetooth
  function to turn or off bluetooth
  change messages to debug loglevel
  added lock for teardown
  add null check if channel is already teared down
  change initialization to work with flutter_isolate and foreground_service
  Cleanup README.
  Bump version to 0.8.0
  Update plugin template files for Android (pauldemarco#792)
  Migrate plugin to null safety. (pauldemarco#791)
  Update CHANGELOG for version 0.7.3.
  Bump min dart sdk for compatibility with protobuf generated files.
  Add collection and meta package to pubspec.
  Use latest protobuf compiler (pauldemarco#676)
  Update README.md (pauldemarco#710)
  feat(): add support for macOS (pauldemarco#626)
  Update README.md (pauldemarco#573)
  Update flutter_blue.dart (pauldemarco#645)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant