Reduce GPS distance filter for more frequent and accurate GPS tracking

This commit is contained in:
zontreck 2025-05-25 15:34:54 -07:00
parent 8253e19079
commit e69a4c9732
2 changed files with 3 additions and 3 deletions

View file

@ -9,13 +9,13 @@ class TTConsts {
static get SESSION_SERVER => static get SESSION_SERVER =>
"https://api.zontreck.com/timetrack/$UPDATE_CHANNEL/timetrack.php"; "https://api.zontreck.com/timetrack/$UPDATE_CHANNEL/timetrack.php";
static const VERSION = "1.0.0-beta.24"; static const VERSION = "1.0.0-beta.25";
static bool UPDATE_AVAILABLE = false; static bool UPDATE_AVAILABLE = false;
static UpdateChannel UPDATE_CHANNEL = UpdateChannel.beta; static UpdateChannel UPDATE_CHANNEL = UpdateChannel.beta;
static final LocationSettings LOCATION_SETTINGS = LocationSettings( static final LocationSettings LOCATION_SETTINGS = LocationSettings(
accuracy: LocationAccuracy.bestForNavigation, accuracy: LocationAccuracy.bestForNavigation,
distanceFilter: 15, distanceFilter: 5,
); );
static Future<void> checkUpdate() async { static Future<void> checkUpdate() async {

View file

@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 1.0.0-beta.24 version: 1.0.0-beta.25
environment: environment:
sdk: ^3.7.2 sdk: ^3.7.2