update gps time
This commit is contained in:
@ -453,7 +453,7 @@ class DestinationController extends GetxController {
|
||||
accuracy: LocationAccuracy.bestForNavigation,
|
||||
distanceFilter: 0,
|
||||
forceLocationManager: true,
|
||||
intervalDuration: const Duration(seconds: 10),
|
||||
intervalDuration: const Duration(seconds: 1),
|
||||
//(Optional) Set foreground notification config to keep the app alive
|
||||
//when going to the background
|
||||
foregroundNotificationConfig: const ForegroundNotificationConfig(
|
||||
@ -467,7 +467,8 @@ class DestinationController extends GetxController {
|
||||
locationSettings = AppleSettings(
|
||||
accuracy: LocationAccuracy.bestForNavigation,
|
||||
activityType: ActivityType.fitness,
|
||||
distanceFilter: 20,
|
||||
distanceFilter: 0,
|
||||
timeLimit: Duration(seconds: 1),
|
||||
pauseLocationUpdatesAutomatically: false,
|
||||
// Only set to true if our app will be started up in the background.
|
||||
showBackgroundLocationIndicator: true
|
||||
|
||||
Reference in New Issue
Block a user