gps settings for ios
This commit is contained in:
@ -467,9 +467,9 @@ class DestinationController extends GetxController {
|
|||||||
locationSettings = AppleSettings(
|
locationSettings = AppleSettings(
|
||||||
accuracy: LocationAccuracy.bestForNavigation,
|
accuracy: LocationAccuracy.bestForNavigation,
|
||||||
activityType: ActivityType.fitness,
|
activityType: ActivityType.fitness,
|
||||||
distanceFilter: 0,
|
distanceFilter: 3,
|
||||||
pauseLocationUpdatesAutomatically: false,
|
pauseLocationUpdatesAutomatically: false,
|
||||||
timeLimit: Duration(seconds: 10),
|
timeLimit: Duration(seconds: 3),
|
||||||
// Only set to true if our app will be started up in the background.
|
// Only set to true if our app will be started up in the background.
|
||||||
showBackgroundLocationIndicator: true
|
showBackgroundLocationIndicator: true
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user