Skip to content

Commit 0fab067

Browse files
Merge pull request #63 from icapps/feature/methods-for-BackgroundLocationUpdateData
Added fromJson/toJson/toString/equals/copyWith methods in BackgroundLocationUpdateData
2 parents 8132f42 + d9dde27 commit 0fab067

File tree

8 files changed

+299
-110
lines changed

8 files changed

+299
-110
lines changed

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

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 {

0 commit comments

Comments
 (0)