Update: 2026-07-29 19:44:57
This commit is contained in:
@@ -20,7 +20,7 @@ class GeoLocation {
|
||||
// Prominent Disclosure for Background Location
|
||||
bool? userAgreed = await Get.defaultDialog<bool>(
|
||||
title: 'صلاحية الموقع'.tr,
|
||||
middleText: 'يجمع تطبيق سيرو بيانات الموقع لتفعيل ميزة التتبع الجغرافي (Geofence) ولتمكين السائق من الوصول إليك بدقة وتتبع رحلتك حتى عندما يكون التطبيق في الخلفية أو مغلقاً.'.tr,
|
||||
middleText: 'يجمع تطبيق انطلق بيانات الموقع لتفعيل ميزة التتبع الجغرافي (Geofence) ولتمكين السائق من الوصول إليك بدقة وتتبع رحلتك حتى عندما يكون التطبيق في الخلفية أو مغلقاً.'.tr,
|
||||
titleStyle: const TextStyle(fontWeight: FontWeight.bold),
|
||||
textConfirm: 'موافق'.tr,
|
||||
textCancel: 'إلغاء'.tr,
|
||||
@@ -53,7 +53,7 @@ class GeoLocation {
|
||||
|
||||
// Update Geofences based on the fresh location
|
||||
try {
|
||||
SiroGeofencingService.syncZonesWithServer(position.latitude, position.longitude);
|
||||
IntaleqGeofencingService.syncZonesWithServer(position.latitude, position.longitude);
|
||||
} catch (e) {
|
||||
// Ignore errors so it doesn't break the main location flow
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user