Update: 2026-06-11 13:47:39

This commit is contained in:
Hamza-Ayed
2026-06-11 13:47:40 +03:00
parent 977adfe99d
commit c5170a88d2
516 changed files with 3654 additions and 3321 deletions

View File

@@ -41,7 +41,7 @@ final box = GetStorage();
const storage = FlutterSecureStorage();
DbSql sql = DbSql.instance;
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
const platform = MethodChannel('com.intaleq_driver/app_control');
const platform = MethodChannel('com.siro_driver/app_control');
const String backgroundServiceChannelId = 'driver_service_channel';
const String locationServiceChannelId = 'location_service_channel';
@@ -286,7 +286,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
WidgetsBinding.instance.addObserver(this);
_initApp();
// 🔥 التقاط رسالة القبول من الأندرويد بشكل مباشر 100% 🔥
const platformAppControl = MethodChannel('com.intaleq_driver/app_control');
const platformAppControl = MethodChannel('com.siro_driver/app_control');
platformAppControl.setMethodCallHandler((call) async {
if (call.method == 'onOverlayTripAccepted') {
print("✅ [Native Intent] تم التقاط زر القبول بنجاح من الأندرويد!");