Skip to content

Commit

Permalink
Merge pull request #63 from icapps/feature/methods-for-BackgroundLoca…
Browse files Browse the repository at this point in the history
…tionUpdateData

Added fromJson/toJson/toString/equals/copyWith methods in BackgroundLocationUpdateData
  • Loading branch information
vanlooverenkoen authored Sep 21, 2023
2 parents 8132f42 + d9dde27 commit 0fab067
Show file tree
Hide file tree
Showing 8 changed files with 299 additions and 110 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.4.2 - 11-09-2023
- Added fromJson/toJson/toString/equals/copyWith methods in BackgroundLocationUpdateData

## 1.4.1 - 17-06-2023
- Updates Play Services Location library

Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class _MyAppState extends State<MyApp> {
}

Future<void> _requestLocationPermission() async {
final result = await Permission.locationAlways.request();
final result = await Permission.location.request();
if (result == PermissionStatus.granted) {
print('GRANTED'); // ignore: avoid_print
} else {
Expand Down
Loading

0 comments on commit 0fab067

Please sign in to comment.