-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Work in progress * lib/** nullability compliant; added linter exceptions for string single quotes and pedantic local variable type rule * Example:: updated to nullsafe-ready dependencies * Example:: nullsafety + refactor WIP * Example:: nullsafe ready * Example/test:: nullsafe ready * test:: using new mocking mechanism additional fixes * Java: added some null checks to make the calls to stop and destroy reentrant * Example:: additional cleanup and refactor Lib:: enchanced error handling, refined nullability on certain types * TestFix:: the injected manager instance is not part of the Characteristic POD so should be ignored when checking for equallity * ble_error seem to have rather nullable fields * TestFix: little refactor on characteristic_mixin regarding clearity and type annotations * TestFix:: lib_core_test:: tests now passing * Example:: removed comment-disabled code * Test:: all tests Passing now! 🎉 * Enhanced BleError nullability, so that reason always has a default value; made fields final * Travis fix * disabled analysis for tests * Travis:: still fixing ios build * vscode:: stopped tracking settings file * travis:: removed my additions to ios example script * Characteristic:: Service field is now final * gitignored andoid related staff xcode noise * Add bluetooth-central key to README.md (#562) * Add bluetooth-central key to README.md Based on #530 * Update README.md * Travis: updated xcode version to 12.2 * BleError:: default reason text added * ScanResult:: added final qualifiers isConnectable is back to nullable since it's only available on iOS on android it will be null which does not mean false!! * CharacteristicsMixin:: _parseCharacteristicWithValueWithTransactionIdResponse():: signature is now type safe moved the rawJsonValue String checking to the caller side * Test:: removed dummy print * ScanningMixin:: _prepareScanEventsStream() renamed to just _scanEvents also _resetScanEvents introduced to null the underlying scream out * ScanningMixin:: small refinement on naming stuff * Characteristic:: refactor on Futures to always complete with something even if withResponse is false additional type safety on invokeMethod calls * Revert "Characteristic:: refactor on Futures to always complete with something even if withResponse is false" This reverts commit 86dafd6. Co-authored-by: Yauheni Pakala <[email protected]>
- Loading branch information
Showing
52 changed files
with
2,572 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
include: package:pedantic/analysis_options.yaml | ||
include: package:pedantic/analysis_options.yaml | ||
|
||
analyzer: | ||
exclude: [test/**] | ||
|
||
linter: | ||
rules: | ||
prefer_single_quotes: false | ||
omit_local_variable_types: false | ||
unawaited_futures: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.