File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ subprojects {
26
26
project. evaluationDependsOn(' :app' )
27
27
}
28
28
29
- task clean ( type : Delete ) {
29
+ tasks . register( " clean " , Delete ) {
30
30
delete rootProject. buildDir
31
31
}
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ class _MyAppState extends State<MyApp> {
162
162
}
163
163
164
164
Future <void > _requestLocationPermission () async {
165
- final result = await Permission .locationAlways .request ();
165
+ final result = await Permission .location .request ();
166
166
if (result == PermissionStatus .granted) {
167
167
print ('GRANTED' ); // ignore: avoid_print
168
168
} else {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ packages:
23
23
path: ".."
24
24
relative: true
25
25
source: path
26
- version: "1.4.1 "
26
+ version: "1.4.2 "
27
27
boolean_selector:
28
28
dependency: transitive
29
29
description:
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ class BackgroundLocationUpdateData {
73
73
74
74
String toJson () => json.encode (toMap ());
75
75
76
- factory BackgroundLocationUpdateData .fromJson (String source) => BackgroundLocationUpdateData .fromMap (json.decode (source));
76
+ factory BackgroundLocationUpdateData .fromJson (String source) =>
77
+ BackgroundLocationUpdateData .fromMap (json.decode (source));
77
78
78
79
@override
79
80
bool operator == (Object other) {
You can’t perform that action at this time.
0 commit comments