Update: 2026-06-11 13:47:39
This commit is contained in:
@@ -11,17 +11,17 @@ class AppLink {
|
||||
// static final String endPoint = box.read(BoxName.serverChosen);
|
||||
// static final String server = Env.seferCairoServer;
|
||||
|
||||
static final String server = 'https://api.intaleq.xyz/intaleq_v3';
|
||||
static final String endPoint = 'https://api.intaleq.xyz/intaleq_v3';
|
||||
static final String syria = 'https://syria.intaleq.xyz/intaleq';
|
||||
static final String server = 'https://api.intaleq.xyz/siro_v3';
|
||||
static final String endPoint = 'https://api.intaleq.xyz/siro_v3';
|
||||
static final String syria = 'https://syria.intaleq.xyz/siro';
|
||||
static String paymentServer = 'https://walletintaleq.intaleq.xyz/v1/main';
|
||||
static String locationServer = 'https://location.intaleq.xyz/intaleq/ride/location';
|
||||
static String locationServerSide = 'https://location.intaleq.xyz/intaleq/ride/location';
|
||||
static String locationServer = 'https://location.intaleq.xyz/siro/ride/location';
|
||||
static String locationServerSide = 'https://location.intaleq.xyz/siro/ride/location';
|
||||
static String mapSaasRoute = 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
static String mapSaasPlaces = 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
static const String routeApiBaseUrl = "https://routesjo.intaleq.xyz/route/v1/driving";
|
||||
static String loginJwtDriver =
|
||||
"https://api.intaleq.xyz/intaleq/loginAdmin.php";
|
||||
"https://api.intaleq.xyz/siro/loginAdmin.php";
|
||||
//=============================
|
||||
//=============================
|
||||
static final getAllFingerprints =
|
||||
|
||||
@@ -472,7 +472,7 @@ class FirebaseMessagesController extends GetxController {
|
||||
// Send the notification
|
||||
final response = await http.post(
|
||||
Uri.parse(
|
||||
'https://fcm.googleapis.com/v1/projects/intaleq-d48a7/messages:send'),
|
||||
'https://fcm.googleapis.com/v1/projects/siro-d48a7/messages:send'),
|
||||
headers: <String, String>{
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Bearer $accessToken',
|
||||
|
||||
@@ -6,7 +6,7 @@ import '../../print.dart';
|
||||
class NotificationService {
|
||||
// تأكد من أن هذا هو الرابط الصحيح لملف الإرسال
|
||||
static const String _serverUrl =
|
||||
'https://syria.intaleq.xyz/intaleq/fcm/send_fcm.php';
|
||||
'https://syria.intaleq.xyz/siro/fcm/send_fcm.php';
|
||||
|
||||
static Future<void> sendNotification({
|
||||
required String target,
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'package:get/get.dart';
|
||||
|
||||
class SecurityChecks {
|
||||
static const platform = MethodChannel(
|
||||
'com.intaleq.intaleq_admin/security'); // Choose a unique channel name
|
||||
'com.siro.siro_admin/security'); // Choose a unique channel name
|
||||
|
||||
static Future<bool> isDeviceCompromised() async {
|
||||
try {
|
||||
|
||||
@@ -66,7 +66,7 @@ class MainApp extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return GetMaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
title: 'Intaleq Admin',
|
||||
title: 'Siro Admin',
|
||||
locale: const Locale('ar'),
|
||||
fallbackLocale: const Locale('en'),
|
||||
themeMode: ThemeMode.dark,
|
||||
|
||||
@@ -307,7 +307,7 @@ class _AdminHomePageState extends State<AdminHomePage>
|
||||
colors: [_accent, _info],
|
||||
).createShader(bounds),
|
||||
child: const Text(
|
||||
'Intaleq Admin',
|
||||
'Siro Admin',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w700,
|
||||
@@ -746,7 +746,7 @@ class _AdminHomePageState extends State<AdminHomePage>
|
||||
ActionItem('السائقون', Icons.drive_eta_rounded, _warning,
|
||||
() => Get.to(() => CaptainsPage())),
|
||||
ActionItem('المراقب', Icons.track_changes_rounded, _danger,
|
||||
() => Get.to(() => IntaleqTrackerScreen())),
|
||||
() => Get.to(() => SiroTrackerScreen())),
|
||||
],
|
||||
),
|
||||
ActionCategory(
|
||||
|
||||
@@ -31,7 +31,7 @@ class DriverCacheController extends GetxController {
|
||||
try {
|
||||
// Using GetConnect to fetch the JSON directly
|
||||
final response = await GetConnect().get(
|
||||
'https://api.intaleq.xyz/intaleq/ride/location/active_drivers_cache.json',
|
||||
'https://api.intaleq.xyz/siro/ride/location/active_drivers_cache.json',
|
||||
);
|
||||
|
||||
if (response.body != null && response.body is Map) {
|
||||
|
||||
@@ -12,14 +12,14 @@ import '../../../constant/box_name.dart';
|
||||
import '../../../controller/functions/crud.dart';
|
||||
import '../../../main.dart';
|
||||
|
||||
class IntaleqTrackerScreen extends StatefulWidget {
|
||||
const IntaleqTrackerScreen({super.key});
|
||||
class SiroTrackerScreen extends StatefulWidget {
|
||||
const SiroTrackerScreen({super.key});
|
||||
|
||||
@override
|
||||
State<IntaleqTrackerScreen> createState() => _IntaleqTrackerScreenState();
|
||||
State<SiroTrackerScreen> createState() => _SiroTrackerScreenState();
|
||||
}
|
||||
|
||||
class _IntaleqTrackerScreenState extends State<IntaleqTrackerScreen>
|
||||
class _SiroTrackerScreenState extends State<SiroTrackerScreen>
|
||||
with TickerProviderStateMixin {
|
||||
// === Map Controller ===
|
||||
final MapController _mapController = MapController();
|
||||
|
||||
Reference in New Issue
Block a user