Update: 2026-06-30 23:08:15

This commit is contained in:
Hamza-Ayed
2026-06-30 23:08:15 +03:00
parent 26ae0124c8
commit 808066f4a6
15 changed files with 246 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ import 'firebase_options.dart';
import 'models/db_sql.dart';
import 'print.dart';
import 'splash_screen_page.dart';
import 'services/geofencing_service.dart';
// -- Global instances for easy access --
final box = GetStorage();
@@ -55,6 +56,11 @@ void main() {
// ✅ التعديل هنا: تهيئة خدمة الـ Live Activity للآيفون
IosLiveActivityService.init();
// Initialize Geofencing Service
if (Platform.isAndroid || Platform.isIOS) {
await SiroGeofencingService.initAndStart();
}
// Lock screen orientation.
await SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,