Skip to content

Commit c1e63d0

Browse files
Merge branch 'master' into readme-patch
2 parents 6647bb9 + 0fab067 commit c1e63d0

16 files changed

+305
-178
lines changed

.github/workflows/analyzer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Analyzer
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
check_analyzer:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2.8.0
15+
with:
16+
channel: 'stable'
17+
- run: flutter packages get
18+
- run: flutter analyze

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2.8.0
15+
with:
16+
channel: 'stable'
17+
- run: flutter packages get
18+
- run: dart run ./tool/test_coverage_create_helper.dart
19+
- run: flutter test --coverage
20+
- run: dart run ./tool/test_coverage_filter.dart
21+
- run: dart run ./tool/test_coverage_validate_percentage.dart
22+
- name: Coveralls
23+
uses: coverallsapp/github-action@master
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.4.2 - 11-09-2023
2+
- Added fromJson/toJson/toString/equals/copyWith methods in BackgroundLocationUpdateData
3+
14
## 1.4.1 - 17-06-2023
25
- Updates Play Services Location library
36

analysis_options.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ linter:
5858
- hash_and_equals
5959
- implementation_imports
6060
- invariant_booleans
61-
- iterable_contains_unrelated_type
61+
- collection_methods_unrelated_type
6262
- join_return_with_assignment
6363
- library_names
6464
- library_prefixes
65-
- list_remove_unrelated_type
6665
- literal_only_boolean_expressions
6766
- no_adjacent_strings_in_list
6867
- no_duplicate_case_values

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ subprojects {
2626
project.evaluationDependsOn(':app')
2727
}
2828

29-
task clean(type: Delete) {
29+
tasks.register("clean", Delete) {
3030
delete rootProject.buildDir
3131
}

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class _MyAppState extends State<MyApp> {
162162
}
163163

164164
Future<void> _requestLocationPermission() async {
165-
final result = await Permission.locationAlways.request();
165+
final result = await Permission.location.request();
166166
if (result == PermissionStatus.granted) {
167167
print('GRANTED'); // ignore: avoid_print
168168
} else {

example/pubspec.lock

Lines changed: 50 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: args
8-
sha256: b003c3098049a51720352d219b0bb5f219b60fbfb68e7a4748139a06a5676515
8+
sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "2.3.1"
11+
version: "2.4.1"
1212
async:
1313
dependency: transitive
1414
description:
@@ -23,7 +23,7 @@ packages:
2323
path: ".."
2424
relative: true
2525
source: path
26-
version: "1.4.1"
26+
version: "1.4.2"
2727
boolean_selector:
2828
dependency: transitive
2929
description:
@@ -76,10 +76,10 @@ packages:
7676
dependency: transitive
7777
description:
7878
name: ffi
79-
sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978
79+
sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99
8080
url: "https://pub.dev"
8181
source: hosted
82-
version: "2.0.1"
82+
version: "2.0.2"
8383
file:
8484
dependency: transitive
8585
description:
@@ -97,10 +97,10 @@ packages:
9797
dependency: "direct main"
9898
description:
9999
name: flutter_local_notifications
100-
sha256: "58729fa76729234ff72597b8825876d781d02c94d5d6c6f6958aeb475f5bf00e"
100+
sha256: "57d0012730780fe137260dd180e072c18a73fbeeb924cdc029c18aaa0f338d64"
101101
url: "https://pub.dev"
102102
source: hosted
103-
version: "9.9.0"
103+
version: "9.9.1"
104104
flutter_local_notifications_linux:
105105
dependency: transitive
106106
description:
@@ -171,90 +171,90 @@ packages:
171171
dependency: transitive
172172
description:
173173
name: path_provider_linux
174-
sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379
174+
sha256: ba2b77f0c52a33db09fc8caf85b12df691bf28d983e84cf87ff6d693cfa007b3
175175
url: "https://pub.dev"
176176
source: hosted
177-
version: "2.1.7"
177+
version: "2.2.0"
178178
path_provider_platform_interface:
179179
dependency: transitive
180180
description:
181181
name: path_provider_platform_interface
182-
sha256: "27dc7a224fcd07444cb5e0e60423ccacea3e13cf00fc5282ac2c918132da931d"
182+
sha256: bced5679c7df11190e1ddc35f3222c858f328fff85c3942e46e7f5589bf9eb84
183183
url: "https://pub.dev"
184184
source: hosted
185-
version: "2.0.4"
185+
version: "2.1.0"
186186
path_provider_windows:
187187
dependency: transitive
188188
description:
189189
name: path_provider_windows
190-
sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c
190+
sha256: ee0e0d164516b90ae1f970bdf29f726f1aa730d7cfc449ecc74c495378b705da
191191
url: "https://pub.dev"
192192
source: hosted
193-
version: "2.1.3"
193+
version: "2.2.0"
194194
permission_handler:
195195
dependency: "direct main"
196196
description:
197197
name: permission_handler
198-
sha256: ae51809c535fd765061c7384a67bc24d304d24cfc455c59e2f6a5cec9a37fc9c
198+
sha256: bc56bfe9d3f44c3c612d8d393bd9b174eb796d706759f9b495ac254e4294baa5
199199
url: "https://pub.dev"
200200
source: hosted
201-
version: "10.0.0"
201+
version: "10.4.5"
202202
permission_handler_android:
203203
dependency: transitive
204204
description:
205205
name: permission_handler_android
206-
sha256: "692e5dd690cd9e978e1cefa67d97bddd3a7f4748ddac6cd8bbd1a354a6a1869f"
206+
sha256: "59c6322171c29df93a22d150ad95f3aa19ed86542eaec409ab2691b8f35f9a47"
207207
url: "https://pub.dev"
208208
source: hosted
209-
version: "10.0.0"
209+
version: "10.3.6"
210210
permission_handler_apple:
211211
dependency: transitive
212212
description:
213213
name: permission_handler_apple
214-
sha256: "6367799be76d1fe70ffe2df7f025abfe28818b450f550621778995badbebf519"
214+
sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5"
215215
url: "https://pub.dev"
216216
source: hosted
217-
version: "9.0.4"
217+
version: "9.1.4"
218218
permission_handler_platform_interface:
219219
dependency: transitive
220220
description:
221221
name: permission_handler_platform_interface
222-
sha256: ca16451bfdc6d26693d10b37b2d81370bdf3f0318422f3eecfd6004f5bd7d21f
222+
sha256: f2343e9fa9c22ae4fd92d4732755bfe452214e7189afcc097380950cf567b4b2
223223
url: "https://pub.dev"
224224
source: hosted
225-
version: "3.7.0"
225+
version: "3.11.5"
226226
permission_handler_windows:
227227
dependency: transitive
228228
description:
229229
name: permission_handler_windows
230-
sha256: "40ad5ab4d3c65d75c7f3a069065c77503aae19a1cf01ba246d43489e14f1b90c"
230+
sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098
231231
url: "https://pub.dev"
232232
source: hosted
233-
version: "0.1.0"
233+
version: "0.1.3"
234234
petitparser:
235235
dependency: transitive
236236
description:
237237
name: petitparser
238-
sha256: "2ebb289dc4764ec397f5cd3ca9881c6d17196130a7d646ed022a0dd9c2e25a71"
238+
sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
239239
url: "https://pub.dev"
240240
source: hosted
241-
version: "5.0.0"
241+
version: "5.1.0"
242242
platform:
243243
dependency: transitive
244244
description:
245245
name: platform
246-
sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
246+
sha256: "57c07bf82207aee366dfaa3867b3164e4f03a238a461a11b0e8a3a510d51203d"
247247
url: "https://pub.dev"
248248
source: hosted
249-
version: "3.1.0"
249+
version: "3.1.1"
250250
plugin_platform_interface:
251251
dependency: transitive
252252
description:
253253
name: plugin_platform_interface
254-
sha256: "075f927ebbab4262ace8d0b283929ac5410c0ac4e7fc123c76429564facfb757"
254+
sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd"
255255
url: "https://pub.dev"
256256
source: hosted
257-
version: "2.1.2"
257+
version: "2.1.5"
258258
process:
259259
dependency: transitive
260260
description:
@@ -267,66 +267,58 @@ packages:
267267
dependency: "direct main"
268268
description:
269269
name: shared_preferences
270-
sha256: "76917b7d4b9526b2ba416808a7eb9fb2863c1a09cf63ec85f1453da240fa818a"
270+
sha256: "0344316c947ffeb3a529eac929e1978fcd37c26be4e8468628bac399365a3ca1"
271271
url: "https://pub.dev"
272272
source: hosted
273-
version: "2.0.15"
273+
version: "2.2.0"
274274
shared_preferences_android:
275275
dependency: transitive
276276
description:
277277
name: shared_preferences_android
278-
sha256: "853801ce6ba7429ec4e923e37317f32a57c903de50b8c33ffcfbdb7e6f0dd39c"
278+
sha256: fe8401ec5b6dcd739a0fe9588802069e608c3fdbfd3c3c93e546cf2f90438076
279279
url: "https://pub.dev"
280280
source: hosted
281-
version: "2.0.12"
282-
shared_preferences_ios:
281+
version: "2.2.0"
282+
shared_preferences_foundation:
283283
dependency: transitive
284284
description:
285-
name: shared_preferences_ios
286-
sha256: "585a14cefec7da8c9c2fb8cd283a3bb726b4155c0952afe6a0caaa7b2272de34"
285+
name: shared_preferences_foundation
286+
sha256: d29753996d8eb8f7619a1f13df6ce65e34bc107bef6330739ed76f18b22310ef
287287
url: "https://pub.dev"
288288
source: hosted
289-
version: "2.1.1"
289+
version: "2.3.3"
290290
shared_preferences_linux:
291291
dependency: transitive
292292
description:
293293
name: shared_preferences_linux
294-
sha256: "28aefc1261746e7bad3d09799496054beb84e8c4ffcdfed7734e17b4ada459a5"
295-
url: "https://pub.dev"
296-
source: hosted
297-
version: "2.1.1"
298-
shared_preferences_macos:
299-
dependency: transitive
300-
description:
301-
name: shared_preferences_macos
302-
sha256: fbb94bf296576f49be37a1496d5951796211a8db0aa22cc0d68c46440dad808c
294+
sha256: "71d6806d1449b0a9d4e85e0c7a917771e672a3d5dc61149cc9fac871115018e1"
303295
url: "https://pub.dev"
304296
source: hosted
305-
version: "2.0.4"
297+
version: "2.3.0"
306298
shared_preferences_platform_interface:
307299
dependency: transitive
308300
description:
309301
name: shared_preferences_platform_interface
310-
sha256: da9431745ede5ece47bc26d5d73a9d3c6936ef6945c101a5aca46f62e52c1cf3
302+
sha256: "23b052f17a25b90ff2b61aad4cc962154da76fb62848a9ce088efe30d7c50ab1"
311303
url: "https://pub.dev"
312304
source: hosted
313-
version: "2.1.0"
305+
version: "2.3.0"
314306
shared_preferences_web:
315307
dependency: transitive
316308
description:
317309
name: shared_preferences_web
318-
sha256: a4b5bc37fe1b368bbc81f953197d55e12f49d0296e7e412dfe2d2d77d6929958
310+
sha256: "7347b194fb0bbeb4058e6a4e87ee70350b6b2b90f8ac5f8bd5b3a01548f6d33a"
319311
url: "https://pub.dev"
320312
source: hosted
321-
version: "2.0.4"
313+
version: "2.2.0"
322314
shared_preferences_windows:
323315
dependency: transitive
324316
description:
325317
name: shared_preferences_windows
326-
sha256: "97f7ab9a7da96d9cf19581f5de520ceb529548498bd6b5e0ccd02d68a0d15eba"
318+
sha256: f95e6a43162bce43c9c3405f3eb6f39e5b5d11f65fab19196cf8225e2777624d
327319
url: "https://pub.dev"
328320
source: hosted
329-
version: "2.1.1"
321+
version: "2.3.0"
330322
sky_engine:
331323
dependency: transitive
332324
description: flutter
@@ -400,18 +392,18 @@ packages:
400392
dependency: transitive
401393
description:
402394
name: win32
403-
sha256: "1952a663c0e34fbde55916010d54bbb249bf5f2583113c497602f0ee01c6faa4"
395+
sha256: "5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c"
404396
url: "https://pub.dev"
405397
source: hosted
406-
version: "3.0.0"
398+
version: "4.1.4"
407399
xdg_directories:
408400
dependency: transitive
409401
description:
410402
name: xdg_directories
411-
sha256: "11541eedefbcaec9de35aa82650b695297ce668662bbd6e3911a7fabdbde589f"
403+
sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86
412404
url: "https://pub.dev"
413405
source: hosted
414-
version: "0.2.0+2"
406+
version: "0.2.0+3"
415407
xml:
416408
dependency: transitive
417409
description:
@@ -422,4 +414,4 @@ packages:
422414
version: "6.1.0"
423415
sdks:
424416
dart: ">=3.0.0-0 <4.0.0"
425-
flutter: ">=3.0.0"
417+
flutter: ">=3.3.0"

0 commit comments

Comments
 (0)