Update: 2026-06-11 13:47:39
This commit is contained in:
@@ -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] تم التقاط زر القبول بنجاح من الأندرويد!");
|
||||
|
||||
Reference in New Issue
Block a user