Skip to content

Commit c45ba36

Browse files
committedJul 24, 2023
version 0.0.4: fixing setScanDuration
1 parent bad2e04 commit c45ba36

File tree

5 files changed

+47
-41
lines changed

5 files changed

+47
-41
lines changed
 

‎beacon_scanner/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.0.4
2+
3+
* Fixes setScanDuration.
4+
* Android: Fixes bluetoothStateChanged and initialize-call.
5+
16
## 0.0.3+1
27

38
* Fixes android permission request.

‎beacon_scanner/lib/src/beacon_scanner_service.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ class BeaconScanner {
5252
/// This will fires [MonitoringResult] whenever the iBeacons in range.
5353
Stream<MonitoringResult> monitoring(List<Region> regions) => BeaconScannerPlatform.instance.monitoring(regions);
5454

55-
/// Customize duration of the beacon scan on the Android Platform.
55+
/// Customize period of the beacon scan on the Android Platform.
5656
Future<bool> setScanPeriod(Duration scanPeriod) async => BeaconScannerPlatform.instance.setScanPeriod(scanPeriod.inMilliseconds);
5757

5858
/// Customize duration of the beacon scan on the Android Platform.
59-
Future<bool> setScanDuration(Duration scanDuration) async => BeaconScannerPlatform.instance.setScanPeriod(scanDuration.inMilliseconds);
59+
Future<bool> setScanDuration(Duration scanDuration) async => BeaconScannerPlatform.instance.setScanDuration(scanDuration.inMilliseconds);
6060

6161
/// Start checking for bluetooth state changed.
6262
///

‎beacon_scanner/pubspec.lock

+19-19
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ packages:
55
dependency: transitive
66
description:
77
name: async
8-
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
8+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "2.10.0"
11+
version: "2.11.0"
1212
beacon_scanner_android:
1313
dependency: "direct main"
1414
description:
1515
name: beacon_scanner_android
16-
sha256: "3da2ae9c318d03fcf04f44e9b7d8110cb35e308ca24dc39ffe395539e357b1e2"
16+
sha256: edc55b8fef0e22ac4a3a5883cf8479eccd5da122b87ae645fe2fb731f0bce240
1717
url: "https://pub.dev"
1818
source: hosted
19-
version: "0.0.3+1"
19+
version: "0.0.4"
2020
beacon_scanner_ios:
2121
dependency: "direct main"
2222
description:
@@ -45,10 +45,10 @@ packages:
4545
dependency: transitive
4646
description:
4747
name: characters
48-
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
48+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "1.2.1"
51+
version: "1.3.0"
5252
clock:
5353
dependency: transitive
5454
description:
@@ -61,10 +61,10 @@ packages:
6161
dependency: transitive
6262
description:
6363
name: collection
64-
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
64+
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
6565
url: "https://pub.dev"
6666
source: hosted
67-
version: "1.17.0"
67+
version: "1.17.1"
6868
fake_async:
6969
dependency: transitive
7070
description:
@@ -87,18 +87,18 @@ packages:
8787
dependency: transitive
8888
description:
8989
name: js
90-
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
90+
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
9191
url: "https://pub.dev"
9292
source: hosted
93-
version: "0.6.5"
93+
version: "0.6.7"
9494
matcher:
9595
dependency: transitive
9696
description:
9797
name: matcher
98-
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
98+
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
9999
url: "https://pub.dev"
100100
source: hosted
101-
version: "0.12.13"
101+
version: "0.12.15"
102102
material_color_utilities:
103103
dependency: transitive
104104
description:
@@ -111,18 +111,18 @@ packages:
111111
dependency: transitive
112112
description:
113113
name: meta
114-
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
114+
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
115115
url: "https://pub.dev"
116116
source: hosted
117-
version: "1.8.0"
117+
version: "1.9.1"
118118
path:
119119
dependency: transitive
120120
description:
121121
name: path
122-
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
122+
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
123123
url: "https://pub.dev"
124124
source: hosted
125-
version: "1.8.2"
125+
version: "1.8.3"
126126
plugin_platform_interface:
127127
dependency: "direct dev"
128128
description:
@@ -180,10 +180,10 @@ packages:
180180
dependency: transitive
181181
description:
182182
name: test_api
183-
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
183+
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
184184
url: "https://pub.dev"
185185
source: hosted
186-
version: "0.4.16"
186+
version: "0.5.1"
187187
vector_math:
188188
dependency: transitive
189189
description:
@@ -193,5 +193,5 @@ packages:
193193
source: hosted
194194
version: "2.1.4"
195195
sdks:
196-
dart: ">=2.18.0 <3.0.0"
196+
dart: ">=3.0.0-0 <4.0.0"
197197
flutter: ">=3.3.0"

‎beacon_scanner/pubspec.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: beacon_scanner
2-
description: A Flutter plugin for Scanning iBeacon.
2+
description: A Flutter plugin for scanning bluetooth low energy iBeacon frames.
3+
Works also in background.
34
repository: https://github.com/Lukangi/beacon_scanner/tree/main/beacon_scanner
45
issue_tracker: https://github.com/Lukangi/beacon_scanner/issues?q=is%3Aissue+is%3Aopen
5-
version: 0.0.3+1
6+
version: 0.0.4
67

78
environment:
89
sdk: ">=2.18.0 <4.0.0"
@@ -19,7 +20,7 @@ flutter:
1920
dependencies:
2021
flutter:
2122
sdk: flutter
22-
beacon_scanner_android: ^0.0.3+1
23+
beacon_scanner_android: ^0.0.4
2324
beacon_scanner_ios: ^0.0.3+1
2425
beacon_scanner_platform_interface: ^0.0.3
2526

‎beacon_scanner_android/pubspec.lock

+17-17
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: async
8-
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
8+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "2.10.0"
11+
version: "2.11.0"
1212
beacon_scanner_platform_interface:
1313
dependency: "direct main"
1414
description:
@@ -29,10 +29,10 @@ packages:
2929
dependency: transitive
3030
description:
3131
name: characters
32-
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
32+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
3333
url: "https://pub.dev"
3434
source: hosted
35-
version: "1.2.1"
35+
version: "1.3.0"
3636
clock:
3737
dependency: transitive
3838
description:
@@ -45,10 +45,10 @@ packages:
4545
dependency: transitive
4646
description:
4747
name: collection
48-
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
48+
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "1.17.0"
51+
version: "1.17.1"
5252
fake_async:
5353
dependency: transitive
5454
description:
@@ -71,18 +71,18 @@ packages:
7171
dependency: transitive
7272
description:
7373
name: js
74-
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
74+
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
7575
url: "https://pub.dev"
7676
source: hosted
77-
version: "0.6.5"
77+
version: "0.6.7"
7878
matcher:
7979
dependency: transitive
8080
description:
8181
name: matcher
82-
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
82+
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
8383
url: "https://pub.dev"
8484
source: hosted
85-
version: "0.12.13"
85+
version: "0.12.15"
8686
material_color_utilities:
8787
dependency: transitive
8888
description:
@@ -95,18 +95,18 @@ packages:
9595
dependency: transitive
9696
description:
9797
name: meta
98-
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
98+
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
9999
url: "https://pub.dev"
100100
source: hosted
101-
version: "1.8.0"
101+
version: "1.9.1"
102102
path:
103103
dependency: transitive
104104
description:
105105
name: path
106-
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
106+
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
107107
url: "https://pub.dev"
108108
source: hosted
109-
version: "1.8.2"
109+
version: "1.8.3"
110110
plugin_platform_interface:
111111
dependency: transitive
112112
description:
@@ -164,10 +164,10 @@ packages:
164164
dependency: transitive
165165
description:
166166
name: test_api
167-
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
167+
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
168168
url: "https://pub.dev"
169169
source: hosted
170-
version: "0.4.16"
170+
version: "0.5.1"
171171
vector_math:
172172
dependency: transitive
173173
description:
@@ -177,5 +177,5 @@ packages:
177177
source: hosted
178178
version: "2.1.4"
179179
sdks:
180-
dart: ">=2.18.0 <3.0.0"
180+
dart: ">=3.0.0-0 <4.0.0"
181181
flutter: ">=3.3.0"

0 commit comments

Comments
 (0)
Failed to load comments.