Update codebase

This commit is contained in:
Hamza-Ayed
2026-08-11 00:11:23 +03:00
parent 6726fcd917
commit 0ff7d04f9a
345 changed files with 3756 additions and 3369 deletions
@@ -1,5 +1,5 @@
import 'package:geolocator/geolocator.dart';
import 'package:siro_rider/services/geofencing_service.dart';
import 'package:tripz_rider/services/geofencing_service.dart';
import 'package:get/get.dart';
import 'package:flutter/material.dart';
@@ -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);
TripzGeofencingService.syncZonesWithServer(position.latitude, position.longitude);
} catch (e) {
// Ignore errors so it doesn't break the main location flow
}