update gps time
This commit is contained in:
@ -453,7 +453,7 @@ class DestinationController extends GetxController {
|
|||||||
accuracy: LocationAccuracy.bestForNavigation,
|
accuracy: LocationAccuracy.bestForNavigation,
|
||||||
distanceFilter: 0,
|
distanceFilter: 0,
|
||||||
forceLocationManager: true,
|
forceLocationManager: true,
|
||||||
intervalDuration: const Duration(seconds: 10),
|
intervalDuration: const Duration(seconds: 1),
|
||||||
//(Optional) Set foreground notification config to keep the app alive
|
//(Optional) Set foreground notification config to keep the app alive
|
||||||
//when going to the background
|
//when going to the background
|
||||||
foregroundNotificationConfig: const ForegroundNotificationConfig(
|
foregroundNotificationConfig: const ForegroundNotificationConfig(
|
||||||
@ -467,7 +467,8 @@ class DestinationController extends GetxController {
|
|||||||
locationSettings = AppleSettings(
|
locationSettings = AppleSettings(
|
||||||
accuracy: LocationAccuracy.bestForNavigation,
|
accuracy: LocationAccuracy.bestForNavigation,
|
||||||
activityType: ActivityType.fitness,
|
activityType: ActivityType.fitness,
|
||||||
distanceFilter: 20,
|
distanceFilter: 0,
|
||||||
|
timeLimit: Duration(seconds: 1),
|
||||||
pauseLocationUpdatesAutomatically: false,
|
pauseLocationUpdatesAutomatically: false,
|
||||||
// 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