Commit e0b4415
Release 2.2.5 (#476)
* Fix capitalization style for UUID and constant names (#437)
* Fix capitalization of UUID in Service
* Fix capitalization of UUID in ScanResult
* Fix capitalization of UUID in Peripheral
* Rename bytes to value
* Fix capitalization of UUID in metadata strings in ScanResult
* Fix constants capitalization in BleError
* Revert "Fix capitalization of UUID in metadata strings in ScanResult"
This reverts commit 08516ec.
* Fix capitalization of UUID in managers for classes
* Fix capitalization of UUID for InternalBleManager
* Fix capitalization of UUID in CharacteristicsMixin
* Fix capitalization of UUID in DevicesMixin
* Rename bytes to value in internal classes
* Add unit tests for Service (#439)
* unit test for BleManager
* [descriptor] override equals & hashcode functions
* [tests] add: mock classes for managers
* [service] add: service tests
* [tests] create characteristics and descriptors using separate generators
* [service][tests] cover generating transactionId when it's not specified
* [service][tests] clear mocks interactions after each test
* [service][tests] add missing test for getting all descriptors for specified characteristic
Co-authored-by: Paweł Byszewski <4048063+pawelByszewski@users.noreply.github.com>
* Descriptor unit tests (#441)
* unit test for BleManager
* [descriptor] override equals & hashcode functions
* [tests] add: mock classes for managers
* [tests] create characteristics and descriptors using separate generators
* [descriptor] add: tests
* [descriptor] fix: test names
* [tests] move all mocks declarations to one aggregate file
* [ble-manager][test] add matcher to always check objects' references
* [descriptor][test] add tests that check uniquity of transactionId
Co-authored-by: pawelByszewski <pawell.b@gmail.com>
* [iOS] Fixed casting of Bool arguments received from dart (#451)
* Remove root level `Flutter User Facing API.dart` (#455)
* rename root level file
naming interfered with certain build_runner code generators
* remove flutter_user_facing_api.dart
* Handle destroyClient call on iOS (#461)
* Handle destroyClient call on iOS
* Add missing semicolon
* [Android] Fix race condition in ConnectionStateStreamHanderl (#468) (#469)
* [Android] Fix race condition in ConnectionStateStreamHanderl (#468)
Add extra null check and synchronized block in async callback
* [Android] Move json generation back into try catch block (#468)
* Update pubspec format (#418)
* Remove author field
* Add supported platforms
* Enforce Flutter version
* Release 2.2.5
Co-authored-by: Łukasz Rejman <lukasz.rejman@polidea.com>
Co-authored-by: Bartosz Wilk <bartosz.wilk@polidea.com>
Co-authored-by: Paweł Byszewski <4048063+pawelByszewski@users.noreply.github.com>
Co-authored-by: pawelByszewski <pawell.b@gmail.com>
Co-authored-by: Tomasz Bogusz <tomasz.bogusz@polidea.com>
Co-authored-by: Dustin Graham <dcgraham7@gmail.com>
Co-authored-by: Leo Huang <leo.tx.huang@gmail.com>1 parent 7d55135 commit e0b4415
File tree
6 files changed
+34
-12
lines changed- android
- src/main/java/com/polidea/flutter_ble_lib/event
- ios
- Classes
6 files changed
+34
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments