Update: 2026-07-27 17:18:25

This commit is contained in:
Hamza-Ayed
2026-07-27 17:18:25 +03:00
parent 5a65fc5a9e
commit 7eeddeb950
59 changed files with 236 additions and 70 deletions
@@ -10,7 +10,7 @@ import '../print.dart';
/// هذه الخدمة مشابهة لـ [IosLiveActivityService] ولكن لمنصة Android
class AndroidLiveUpdateService {
static const MethodChannel _channel =
MethodChannel('siro/android_live_update');
MethodChannel('Intaleq/android_live_update');
static bool _isSupported = false;
static bool _isActive = false;
+1 -1
View File
@@ -6,7 +6,7 @@ import '../print.dart';
/// خدمة التحكم بوضع النافذة العائمة (Picture-in-Picture) على أندرويد.
/// تُستدعى عند بدء الرحلة لتفعيل PiP تلقائياً عند خروج المستخدم من التطبيق.
class PipService {
static const MethodChannel _channel = MethodChannel('siro/pip');
static const MethodChannel _channel = MethodChannel('Intaleq/pip');
/// هل وضع PiP مدعوم على هذا الجهاز؟
static Future<bool> isPipSupported() async {
@@ -22,7 +22,7 @@ class RideLiveNotification {
final android = AndroidNotificationDetails(
'live_ride_tracking', // channel id
'Ride Tracking', // channel name
channelDescription: 'Live updates for the current Siro ride',
channelDescription: 'Live updates for the current Intaleq ride',
importance: Importance.max,
priority: Priority.high,
ongoing: true, // إشعار ثابت
@@ -2,7 +2,7 @@ import 'dart:io';
import 'package:flutter/services.dart';
class RideTrackingNative {
static const MethodChannel _channel = MethodChannel('siro/ride_tracking');
static const MethodChannel _channel = MethodChannel('Intaleq/ride_tracking');
static Future<void> updateRideTracking({
required String driverName,