إضافة الهوية الجديدة Tripz
@@ -1,4 +1,4 @@
|
||||
# siro_driver
|
||||
# tripz_driver
|
||||
|
||||
A new Flutter project.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Analyzing siro_driver...
|
||||
Analyzing tripz_driver...
|
||||
|
||||
error - trip_overlay_plugin/example/integration_test/plugin_integration_test.dart:11:8 - Target of URI doesn't exist: 'package:integration_test/integration_test.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist. - uri_does_not_exist
|
||||
error - trip_overlay_plugin/example/integration_test/plugin_integration_test.dart:16:3 - Undefined name 'IntegrationTestWidgetsFlutterBinding'. Try correcting the name to one that is defined, or defining the name. - undefined_identifier
|
||||
@@ -13,8 +13,8 @@ warning - lib/controller/auth/captin/ml_google_doc.dart:1:8 - Unused import: 'da
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:3:8 - Unused import: 'package:get/get.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:5:8 - Unused import: 'package:image_cropper/image_cropper.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:6:8 - Unused import: 'package:image_picker/image_picker.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:7:8 - Unused import: 'package:siro_driver/constant/colors.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:8:8 - Unused import: 'package:siro_driver/controller/functions/llama_ai.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:7:8 - Unused import: 'package:tripz_driver/constant/colors.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/ml_google_doc.dart:8:8 - Unused import: 'package:tripz_driver/controller/functions/llama_ai.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/opt_token_controller.dart:11:8 - Unused import: '../../firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/auth/captin/register_captin_controller.dart:97:24 - The value of the local variable 'smsEgyptController' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/auth/captin/register_captin_controller.dart:223:8 - The declaration '_isPhoneVerified' isn't referenced. Try removing the declaration of '_isPhoneVerified'. - unused_element
|
||||
@@ -36,7 +36,7 @@ warning - lib/controller/auth/syria/registration_controller.dart:611:61 - The '!
|
||||
warning - lib/controller/auth/syria/registration_controller.dart:612:57 - The '!' will have no effect because the receiver can't be null. Try removing the '!' operator. - unnecessary_non_null_assertion
|
||||
warning - lib/controller/auth/syria/registration_controller.dart:613:55 - The '!' will have no effect because the receiver can't be null. Try removing the '!' operator. - unnecessary_non_null_assertion
|
||||
warning - lib/controller/firebase/access_token.dart:4:8 - Unused import: '../../print.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/firebase/firbase_messge.dart:4:8 - Unused import: 'package:siro_driver/views/home/Captin/orderCaptin/order_speed_request.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/firebase/firbase_messge.dart:4:8 - Unused import: 'package:tripz_driver/views/home/Captin/orderCaptin/order_speed_request.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/firebase/firbase_messge.dart:20:8 - Unused import: '../../views/home/Captin/orderCaptin/order_request_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/firebase/firbase_messge.dart:56:28 - The value of the local variable 'settings' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/firebase/firbase_messge.dart:100:28 - The value of the local variable 'android' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
@@ -52,10 +52,10 @@ warning - lib/controller/functions/encrypt_decrypt.dart:7:8 - Unused import: '..
|
||||
warning - lib/controller/functions/encrypt_decrypt.dart:8:8 - Unused import: '../../print.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/encrypt_decrypt.dart:38:36 - The '!' will have no effect because the receiver can't be null. Try removing the '!' operator. - unnecessary_non_null_assertion
|
||||
warning - lib/controller/functions/encrypt_decrypt.dart:39:47 - The '!' will have no effect because the receiver can't be null. Try removing the '!' operator. - unnecessary_non_null_assertion
|
||||
warning - lib/controller/functions/face_detect.dart:3:8 - Unused import: 'package:siro_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/face_detect.dart:3:8 - Unused import: 'package:tripz_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/face_detect.dart:10:8 - Unused import: 'encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/gemeni.dart:4:8 - Duplicate import. Try removing all but one import of the library. - duplicate_import
|
||||
warning - lib/controller/functions/gemeni.dart:12:8 - Unused import: 'package:siro_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/gemeni.dart:12:8 - Unused import: 'package:tripz_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/gemeni.dart:31:8 - Unused import: '../../print.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/gemeni.dart:157:11 - The value of the local variable 'inspExpired' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/gemeni.dart:158:11 - The value of the local variable 'taxExpired' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
@@ -76,7 +76,7 @@ warning - lib/controller/functions/gemeni.dart:1361:13 - The value of the local
|
||||
warning - lib/controller/functions/gemeni.dart:1441:13 - The value of the local variable 'result' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/gemeni.dart:1522:13 - The value of the local variable 'result' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/gemeni.dart:1599:13 - The value of the local variable 'result' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/llama_ai.dart:5:8 - Unused import: 'package:siro_driver/controller/functions/gemeni.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/llama_ai.dart:5:8 - Unused import: 'package:tripz_driver/controller/functions/gemeni.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/location_controller.dart:54:36 - The value of the field '_homeCtrl' isn't used. Try removing the field, or using it. - unused_field
|
||||
warning - lib/controller/functions/location_controller.dart:55:38 - The value of the field '_walletCtrl' isn't used. Try removing the field, or using it. - unused_field
|
||||
warning - lib/controller/functions/location_controller.dart:64:8 - The value of the field '_isReady' isn't used. Try removing the field, or using it. - unused_field
|
||||
@@ -97,12 +97,12 @@ warning - lib/controller/functions/sms_egypt_controller.dart:31:12 - The value o
|
||||
warning - lib/controller/functions/sms_egypt_controller.dart:66:9 - The value of the local variable 'res' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/sms_egypt_controller.dart:77:9 - The value of the local variable 'res' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/sms_egypt_controller.dart:94:9 - The value of the local variable 'res' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/functions/upload_image.dart:3:8 - Unused import: 'package:siro_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/upload_image.dart:3:8 - Unused import: 'package:tripz_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/functions/upload_image.dart:9:8 - Unused import: 'package:path/path.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/duration_controller .dart:3:8 - Unused import: 'package:siro_driver/views/widgets/elevated_btn.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/duration_controller .dart:3:8 - Unused import: 'package:tripz_driver/views/widgets/elevated_btn.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/duration_controller .dart:105:26 - Unnecessary cast. Try removing the cast. - unnecessary_cast
|
||||
warning - lib/controller/home/captin/help/help_controller.dart:12:8 - Unused import: '../../../functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/help/video_controller.dart:5:8 - Unused import: 'package:siro_driver/print.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/help/video_controller.dart:5:8 - Unused import: 'package:tripz_driver/print.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/home_captain_controller.dart:20:8 - Unused import: '../../functions/background_service.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/home_captain_controller.dart:22:8 - Unused import: '../../functions/location_background_controller.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/captin/home_captain_controller.dart:514:33 - The operand can't be 'null', so the condition is always 'true'. Remove the condition. - unnecessary_null_comparison
|
||||
@@ -141,11 +141,11 @@ warning - lib/controller/home/navigation/navigation_controller.dart:1318:10 - Th
|
||||
warning - lib/controller/home/navigation/navigation_controller.dart:1319:10 - The declaration '_kmToLngDelta' isn't referenced. Try removing the declaration of '_kmToLngDelta'. - unused_element
|
||||
warning - lib/controller/home/navigation/navigation_view.dart:31:29 - The value of the local variable 's' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/home/navigation/route_matcher_worker.dart:2:8 - Unused import: 'dart:async'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/navigation/route_matcher_worker.dart:5:8 - Unused import: 'package:intaleq_maps/intaleq_maps.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/navigation/route_matcher_worker.dart:5:8 - Unused import: 'package:tripz_maps/tripz_maps.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/captain_wallet_controller.dart:3:8 - Unused import: 'package:local_auth/local_auth.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/captain_wallet_controller.dart:5:8 - Unused import: 'package:siro_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/captain_wallet_controller.dart:5:8 - Unused import: 'package:tripz_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/captain_wallet_controller.dart:16:8 - Unused import: '../../../views/widgets/mydialoug.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/paymob_payout.dart:5:8 - Unused import: 'package:siro_driver/controller/payment/smsPaymnet/payment_services.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/payment/paymob_payout.dart:5:8 - Unused import: 'package:tripz_driver/controller/payment/smsPaymnet/payment_services.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/home/splash_screen_controlle.dart:14:8 - Unused import: '../../onbording_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/local/local_controller.dart:7:8 - Unused import: '../profile/setting_controller.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/local/translations.dart:349:11 - Two keys in a map literal shouldn't be equal. Change or remove the duplicate key. - equal_keys_in_map
|
||||
@@ -179,15 +179,15 @@ warning - lib/controller/local/translations.dart:2632:11 - Two keys in a map lit
|
||||
warning - lib/controller/local/translations.dart:2633:11 - Two keys in a map literal shouldn't be equal. Change or remove the duplicate key. - equal_keys_in_map
|
||||
warning - lib/controller/local/translations.dart:2635:11 - Two keys in a map literal shouldn't be equal. Change or remove the duplicate key. - equal_keys_in_map
|
||||
warning - lib/controller/local/translations.dart:2636:11 - Two keys in a map literal shouldn't be equal. Change or remove the duplicate key. - equal_keys_in_map
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:5:8 - Unused import: 'package:siro_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:6:8 - Unused import: 'package:siro_driver/views/widgets/elevated_btn.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:7:8 - Unused import: 'package:siro_driver/views/widgets/mydialoug.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/passenger_notification_controller.dart:4:8 - Unused import: 'package:siro_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:5:8 - Unused import: 'package:tripz_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:6:8 - Unused import: 'package:tripz_driver/views/widgets/elevated_btn.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/notification_captain_controller.dart:7:8 - Unused import: 'package:tripz_driver/views/widgets/mydialoug.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/passenger_notification_controller.dart:4:8 - Unused import: 'package:tripz_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/notification/passenger_notification_controller.dart:53:9 - The value of the local variable 'res' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/controller/notification/ride_available_controller.dart:2:8 - Unused import: 'package:flutter/material.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/mtn_new/mtn_payment_new_screen.dart:103:11 - The value of the field '_invoiceNumber' isn't used. Try removing the field, or using it. - unused_field
|
||||
warning - lib/controller/payment/payment_controller.dart:2:8 - Unused import: 'package:siro_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/payment_controller.dart:7:8 - Unused import: 'package:siro_driver/views/widgets/error_snakbar.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/payment_controller.dart:2:8 - Unused import: 'package:tripz_driver/constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/payment_controller.dart:7:8 - Unused import: 'package:tripz_driver/views/widgets/error_snakbar.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/payment_controller.dart:8:8 - Unused import: 'package:http/http.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/payment_controller.dart:16:8 - Unused import: '../../constant/info.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/paymob.dart:4:8 - Unused import: 'package:flutter/material.dart'. Try removing the import directive. - unused_import
|
||||
@@ -195,18 +195,18 @@ warning - lib/controller/payment/paymob.dart:10:8 - Unused import: '../functions
|
||||
warning - lib/controller/payment/paymob.dart:46:27 - The exception variable 'e' isn't used, so the 'catch' clause can be removed. Try removing the catch clause. - unused_catch_clause
|
||||
warning - lib/controller/payment/paymob.dart:77:26 - The exception variable 'e' isn't used, so the 'catch' clause can be removed. Try removing the catch clause. - unused_catch_clause
|
||||
warning - lib/controller/payment/paymob.dart:82:18 - The declaration '_getStatusAfterPaid' isn't referenced. Try removing the declaration of '_getStatusAfterPaid'. - unused_element
|
||||
warning - lib/controller/payment/paymob/paymob_response.dart:2:8 - Unused import: 'package:siro_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/paymob/paymob_wallet.dart:2:8 - Unused import: 'package:siro_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/paymob/paymob_response.dart:2:8 - Unused import: 'package:tripz_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/paymob/paymob_wallet.dart:2:8 - Unused import: 'package:tripz_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/payment/paymob/paymob_wallet.dart:43:15 - The value of the field '_iFrameURL' isn't used. Try removing the field, or using it. - unused_field
|
||||
warning - lib/controller/payment/paymob/paymob_wallet.dart:169:26 - The exception variable 'e' isn't used, so the 'catch' clause can be removed. Try removing the catch clause. - unused_catch_clause
|
||||
warning - lib/controller/payment/paymob/paymob_wallet.dart:451:8 - The declaration '_showSuccessDialog' isn't referenced. Try removing the declaration of '_showSuccessDialog'. - unused_element
|
||||
warning - lib/controller/rate/rate_app_controller.dart:1:8 - Unused import: 'dart:convert'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/rate/rate_conroller.dart:1:8 - Unused import: 'package:siro_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/rate/rate_conroller.dart:1:8 - Unused import: 'package:tripz_driver/controller/firebase/firbase_messge.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/controller/rate/rate_conroller.dart:120:36 - The left operand can't be null, so the right operand is never executed. Try removing the operator and the right operand. - dead_null_aware_expression
|
||||
warning - lib/main.dart:21:8 - Unused import: 'constant/api_key.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/print.dart:10:18 - This function has a nullable return type of 'Object?', but ends without returning a value. Try adding a return statement, or if no value is ever returned, try changing the return type to 'void'. - body_might_complete_normally_nullable
|
||||
warning - lib/services/offline_map_service.dart:6:8 - Unused import: '../main.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/splash_screen_page.dart:3:8 - Unused import: 'package:siro_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/splash_screen_page.dart:3:8 - Unused import: 'package:tripz_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/splash_screen_page.dart:5:8 - Unused import: 'main.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/Rate/rate_passenger.dart:10:8 - Unused import: '../../constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/Rate/ride_calculate_driver.dart:9:8 - Unused import: 'package:intl/intl.dart'. Try removing the import directive. - unused_import
|
||||
@@ -216,7 +216,7 @@ warning - lib/views/auth/captin/ai_page.dart:26:12 - The value of the local vari
|
||||
warning - lib/views/auth/captin/car_license_page.dart:1:8 - Unused import: 'dart:io'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:3:8 - Unused import: 'package:flutter/material.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:4:8 - Unused import: 'package:get/get.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:5:8 - Unused import: 'package:siro_driver/controller/functions/ocr_controller.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:5:8 - Unused import: 'package:tripz_driver/controller/functions/ocr_controller.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:7:8 - Unused import: '../../../constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:8:8 - Unused import: '../../../controller/auth/captin/ml_google_doc.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/car_license_page.dart:9:8 - Unused import: '../../../controller/auth/captin/register_captin_controller.dart'. Try removing the import directive. - unused_import
|
||||
@@ -248,35 +248,35 @@ warning - lib/views/auth/captin/otp_page.dart:13:8 - Unused import: '../../../ma
|
||||
warning - lib/views/auth/captin/register_captin.dart:9:8 - Unused import: '../../../controller/auth/google_sign.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/auth/captin/verify_email_captain.dart:9:7 - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: VerifyEmailCaptainPage.registerCaptinController - must_be_immutable
|
||||
warning - lib/views/auth/syria/registration_view.dart:1:8 - Unused import: 'dart:io'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/About Us/about_us.dart:1:8 - Unused import: 'package:siro_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/About Us/about_us.dart:3:8 - Unused import: 'package:siro_driver/main.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/About Us/about_us.dart:1:8 - Unused import: 'package:tripz_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/About Us/about_us.dart:3:8 - Unused import: 'package:tripz_driver/main.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/About Us/frequantly_question.dart:14:12 - The value of the local variable 'selectedPayment' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/About Us/frequantly_question.dart:15:10 - The value of the local variable 'canCancelRide' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/About Us/settings_captain.dart:11:8 - Unused import: '../../../auth/country_widget.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/bottom_bar.dart:69:26 - The value of the local variable 'data' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/driver_map_page.dart:4:8 - Unused import: 'package:siro_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/driver_map_page.dart:4:8 - Unused import: 'package:tripz_driver/constant/box_name.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/driver_map_page.dart:10:8 - Unused import: '../../../main.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/driver_map_page.dart:18:8 - Unused import: 'mapDriverWidgets/sped_circle.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/drawer_captain.dart:1:8 - Unused import: 'dart:io'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/drawer_captain.dart:20:8 - Unused import: 'package:siro_driver/views/gamification/referral_center_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/drawer_captain.dart:20:8 - Unused import: 'package:tripz_driver/views/gamification/referral_center_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/drawer_captain.dart:33:8 - Unused import: '../assurance_health_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/drawer_captain.dart:34:8 - Unused import: '../maintain_center_page.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/help_details_replay_page.dart:3:8 - Unused import: 'package:siro_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/help_details_replay_page.dart:3:8 - Unused import: 'package:tripz_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/home_captin.dart:575:34 - A value for optional parameter 'key' isn't ever given. Try removing the unused parameter. - unused_element_parameter
|
||||
warning - lib/views/home/Captin/home_captain/widget/connect.dart:22:9 - The value of the local variable 'refusedRidesToday' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:6:8 - Unused import: 'package:siro_driver/views/auth/syria/registration_view.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:6:8 - Unused import: 'package:tripz_driver/views/auth/syria/registration_view.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:224:21 - Dead code. Try removing the code, or fixing the code before it so that it can be reached. - dead_code
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:243:13 - The value of the local variable 'customerToken' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:244:13 - The value of the local variable 'orderId' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/home_captain/widget/left_menu_map_captain.dart:304:6 - The declaration '_sendAcceptanceNotification' isn't referenced. Try removing the declaration of '_sendAcceptanceNotification'. - unused_element
|
||||
warning - lib/views/home/Captin/home_captain/widget/zones_controller.dart:14:18 - The value of the local variable 'totalArea' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/home_captain/widget/zones_controller.dart:65:12 - The value of the local variable 'jsonMap' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/maintain_center_page.dart:2:8 - Unused import: 'package:siro_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/maintain_center_page.dart:2:8 - Unused import: 'package:tripz_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/google_driver_map_page.dart:20:31 - The value of the local variable 'controller' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/google_driver_map_page.dart:23:18 - The value of the local variable 'mapPaddingBottom' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/google_map_app.dart:2:8 - Unused import: 'package:siro_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/google_map_app.dart:2:8 - Unused import: 'package:tripz_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/passenger_info_window.dart:17:8 - Unused import: '../../../widgets/my_textField.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/sos_connect.dart:3:8 - Unused import: 'package:siro_driver/views/widgets/error_snakbar.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/sos_connect.dart:3:8 - Unused import: 'package:tripz_driver/views/widgets/error_snakbar.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/sos_connect.dart:10:8 - Unused import: '../../../../constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/sos_connect.dart:11:8 - Unused import: '../../../../controller/firebase/notification_service.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/Captin/mapDriverWidgets/sped_circle.dart:19:14 - The value of the local variable 'isSpeeding' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
@@ -291,8 +291,8 @@ warning - lib/views/home/my_wallet/bank_account_egypt.dart:127:52 - The operand
|
||||
warning - lib/views/home/my_wallet/card_wallet_widget.dart:13:8 - Unused import: '../../../controller/home/payment/paymob_payout.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/my_wallet/points_captain.dart:15:8 - Unused import: '../../../controller/payment/mtn_new/mtn_payment_new_screen.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/on_boarding_page.dart:8:7 - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: OnBoardingPage.onBoardingControllerImp - must_be_immutable
|
||||
warning - lib/views/home/profile/captains_cars.dart:3:8 - Unused import: 'package:siro_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/profile/captains_cars.dart:4:8 - Unused import: 'package:siro_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/profile/captains_cars.dart:3:8 - Unused import: 'package:tripz_driver/constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/profile/captains_cars.dart:4:8 - Unused import: 'package:tripz_driver/controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/profile/cars_inserting_page.dart:9:8 - Unused import: '../../../controller/functions/encrypt_decrypt.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/home/profile/cars_inserting_page.dart:187:70 - The left operand can't be null, so the right operand is never executed. Try removing the operator and the right operand. - dead_null_aware_expression
|
||||
warning - lib/views/home/profile/feed_back_page.dart:9:7 - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FeedBackPage.feedBackController - must_be_immutable
|
||||
@@ -300,7 +300,7 @@ warning - lib/views/home/profile/passenger_profile_page.dart:16:7 - This class (
|
||||
warning - lib/views/home/profile/profile_captain.dart:22:11 - The value of the local variable 'controller' isn't used. Try removing the variable or using it. - unused_local_variable
|
||||
warning - lib/views/home/profile/promos_passenger_page.dart:8:8 - Unused import: '../../../constant/style.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/notification/available_rides_page.dart:1:8 - Unused import: 'dart:convert'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/notification/available_rides_page.dart:5:8 - Unused import: 'package:intaleq_maps/intaleq_maps.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/notification/available_rides_page.dart:5:8 - Unused import: 'package:tripz_maps/tripz_maps.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/widgets/error_snakbar.dart:5:8 - Unused import: '../../constant/colors.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/widgets/my_scafold.dart:2:8 - Unused import: 'package:get/get.dart'. Try removing the import directive. - unused_import
|
||||
warning - lib/views/widgets/my_scafold.dart:5:8 - Unused import: '../../constant/style.dart'. Try removing the import directive. - unused_import
|
||||
|
||||
@@ -34,7 +34,7 @@ if (flutterVersionName == null) {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.siro.siro_driver"
|
||||
namespace = "com.tripz.tripz_driver"
|
||||
compileSdk = 36
|
||||
ndkVersion "29.0.14033849"
|
||||
|
||||
@@ -63,7 +63,7 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.siro.siro_driver"
|
||||
applicationId = "com.sefer_driver"
|
||||
minSdkVersion = 30
|
||||
targetSdk = 36
|
||||
versionCode = flutterVersionCode.toInteger()
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
# Android Auto Car App Library
|
||||
-keep class androidx.car.app.** { *; }
|
||||
-keep class com.siro.siro_driver.MyCarAppService { *; }
|
||||
-keep class com.siro.siro_driver.MyCarSession { *; }
|
||||
-keep class com.siro.siro_driver.MyCarScreen { *; }
|
||||
-keep class com.siro.siro_driver.CarNavigationData { *; }
|
||||
-keep class com.siro.siro_driver.MapPresentation { *; }
|
||||
-keep class com.tripz.tripz_driver.MyCarAppService { *; }
|
||||
-keep class com.tripz.tripz_driver.MyCarSession { *; }
|
||||
-keep class com.tripz.tripz_driver.MyCarScreen { *; }
|
||||
-keep class com.tripz.tripz_driver.CarNavigationData { *; }
|
||||
-keep class com.tripz.tripz_driver.MapPresentation { *; }
|
||||
|
||||
# MapLibre Native SDK
|
||||
-keep class org.maplibre.android.** { *; }
|
||||
|
||||
@@ -80,21 +80,21 @@
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
<!-- Deep Link: siromove://... -->
|
||||
<!-- Deep Link: tripzmove://... -->
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="siromove" />
|
||||
<data android:scheme="tripzmove" />
|
||||
</intent-filter>
|
||||
|
||||
<!-- App Links for siromove.com -->
|
||||
<!-- App Links for tripzmove.com -->
|
||||
<intent-filter android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="https" android:host="siromove.com" android:pathPrefix="/" />
|
||||
<data android:scheme="https" android:host="www.siromove.com" android:pathPrefix="/" />
|
||||
<data android:scheme="https" android:host="tripzmove.com" android:pathPrefix="/" />
|
||||
<data android:scheme="https" android:host="www.tripzmove.com" android:pathPrefix="/" />
|
||||
</intent-filter>
|
||||
|
||||
<!-- Navigation Intents -->
|
||||
@@ -129,7 +129,7 @@
|
||||
android:exported="true"
|
||||
/>
|
||||
<service
|
||||
android:name="com.siro.siro_driver.trip_overlay_plugin.TripOverlayService"
|
||||
android:name="com.tripz.tripz_driver.trip_overlay_plugin.TripOverlayService"
|
||||
android:exported="false"
|
||||
android:foregroundServiceType="specialUse" />
|
||||
<service android:name=".MyFirebaseMessagingService" android:exported="false" />
|
||||
@@ -168,7 +168,7 @@
|
||||
android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
|
||||
<intent-filter>
|
||||
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
||||
<category android:name="com.siro.siro_driver" />
|
||||
<category android:name="com.tripz.tripz_driver" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<!-- خدمة الفقاعة الخاصة بك -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.10.2) # 3.10.2 is fine, but no need to go as high as 3.31.5
|
||||
project(siro_driver) # Good
|
||||
project(tripz_driver) # Good
|
||||
|
||||
# Add your C++ source file(s) to create a SHARED library.
|
||||
add_library(native-lib SHARED native-lib.cpp)
|
||||
|
||||
@@ -158,7 +158,7 @@ bool checkLoadedModules()
|
||||
//}
|
||||
|
||||
extern "C" JNIEXPORT jboolean JNICALL
|
||||
Java_com_siro_siro_1driver_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
Java_com_sefer_1driver_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
{
|
||||
|
||||
if (isRooted())
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.app.AlertDialog
|
||||
import android.content.Intent
|
||||
@@ -18,8 +18,8 @@ import java.util.Timer
|
||||
import kotlin.concurrent.schedule
|
||||
|
||||
class MainActivity : FlutterFragmentActivity() {
|
||||
private val SECURITY_CHANNEL = "com.siro.siro_driver/security"
|
||||
private val APP_CONTROL_CHANNEL = "com.siro.siro_driver/app_control"
|
||||
private val SECURITY_CHANNEL = "com.tripz.tripz_driver/security"
|
||||
private val APP_CONTROL_CHANNEL = "com.tripz.tripz_driver/app_control"
|
||||
private var appControlChannel: MethodChannel? = null
|
||||
|
||||
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
|
||||
@@ -63,7 +63,7 @@ class MainActivity : FlutterFragmentActivity() {
|
||||
}
|
||||
|
||||
// ✅ Channel for Android Auto Navigation Updates
|
||||
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.siro.siro_driver/car_navigation")
|
||||
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.tripz.tripz_driver/car_navigation")
|
||||
.setMethodCallHandler { call, result ->
|
||||
when (call.method) {
|
||||
"updateNavState" -> {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.app.Presentation
|
||||
import android.content.Context
|
||||
@@ -16,7 +16,7 @@ import org.maplibre.android.maps.Style
|
||||
|
||||
/**
|
||||
* شاشة عرض وهمية (Presentation) تُرسم على VirtualDisplay الخاص بشاشة السيارة.
|
||||
* تستخدم MapLibre Native SDK لعرض الخريطة بنفس ستايل تطبيق سيرو.
|
||||
* تستخدم MapLibre Native SDK لعرض الخريطة بنفس ستايل تطبيق تريبز.
|
||||
*/
|
||||
class MapPresentation(outerContext: Context, display: Display) : Presentation(outerContext, display) {
|
||||
lateinit var mapView: MapView
|
||||
@@ -32,9 +32,9 @@ class MapPresentation(outerContext: Context, display: Display) : Presentation(ou
|
||||
|
||||
private fun reloadStyleIfNeeded() {
|
||||
val expectedStyle = if (CarNavigationData.isMapDarkMode)
|
||||
"asset://packages/intaleq_maps/assets/style_dark.json"
|
||||
"asset://packages/tripz_maps/assets/style_dark.json"
|
||||
else
|
||||
"asset://packages/intaleq_maps/assets/style.json"
|
||||
"asset://packages/tripz_maps/assets/style.json"
|
||||
|
||||
if (currentStyleLoaded != expectedStyle && isMapReady) {
|
||||
currentStyleLoaded = expectedStyle
|
||||
@@ -66,11 +66,11 @@ class MapPresentation(outerContext: Context, display: Display) : Presentation(ou
|
||||
mapView.getMapAsync { map ->
|
||||
mapboxMap = map
|
||||
|
||||
// تحميل ستايل خرائط سيرو من حزمة intaleq_maps حسب الوضعية
|
||||
// تحميل ستايل خرائط تريبز من حزمة tripz_maps حسب الوضعية
|
||||
currentStyleLoaded = if (CarNavigationData.isMapDarkMode)
|
||||
"asset://packages/intaleq_maps/assets/style_dark.json"
|
||||
"asset://packages/tripz_maps/assets/style_dark.json"
|
||||
else
|
||||
"asset://packages/intaleq_maps/assets/style.json"
|
||||
"asset://packages/tripz_maps/assets/style.json"
|
||||
map.setStyle(Style.Builder().fromUri(currentStyleLoaded!!)) {
|
||||
isMapReady = true
|
||||
updateCameraPosition()
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Intent
|
||||
@@ -24,7 +24,7 @@ class MyApplication : Application() {
|
||||
|
||||
MethodChannel(
|
||||
flutterEngine.dartExecutor.binaryMessenger,
|
||||
"com.siro.siro_driver/app_lifecycle"
|
||||
"com.tripz.tripz_driver/app_lifecycle"
|
||||
)
|
||||
.setMethodCallHandler { call, result ->
|
||||
if (call.method == "bringAppToForeground") {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.content.pm.ApplicationInfo
|
||||
import androidx.car.app.CarAppService
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import androidx.car.app.CarContext
|
||||
import androidx.car.app.Screen
|
||||
@@ -24,14 +24,14 @@ class MyCarScreen(carContext: CarContext) : Screen(carContext) {
|
||||
override fun onGetTemplate(): Template {
|
||||
// إذا لم يكن التوجيه نشطاً بعد، نعرض شاشة ترحيبية
|
||||
if (!CarNavigationData.isNavigating) {
|
||||
return MessageTemplate.Builder("مرحباً بك في سيرو درايفر\nبانتظار بدء رحلة جديدة...")
|
||||
.setTitle("Siro Driver")
|
||||
return MessageTemplate.Builder("مرحباً بك في تريبز درايفر\nبانتظار بدء رحلة جديدة...")
|
||||
.setTitle("Tripz Driver")
|
||||
.setHeaderAction(Action.APP_ICON)
|
||||
.build()
|
||||
}
|
||||
|
||||
// --- بناء معلومات التوجيه (Turn-by-Turn) ---
|
||||
val maneuverType = mapSiroManeuverToCarManeuver(CarNavigationData.maneuverType)
|
||||
val maneuverType = mapTripzManeuverToCarManeuver(CarNavigationData.maneuverType)
|
||||
val maneuver = Maneuver.Builder(maneuverType).build()
|
||||
|
||||
val step = Step.Builder(CarNavigationData.currentInstruction)
|
||||
@@ -60,11 +60,11 @@ class MyCarScreen(carContext: CarContext) : Screen(carContext) {
|
||||
}
|
||||
|
||||
/**
|
||||
* تحويل أكواد الانعطاف الخاصة بتطبيق سيرو (NavigationController.currentManeuverModifier)
|
||||
* تحويل أكواد الانعطاف الخاصة بتطبيق تريبز (NavigationController.currentManeuverModifier)
|
||||
* إلى أكواد Maneuver الرسمية من مكتبة Android for Cars.
|
||||
*/
|
||||
private fun mapSiroManeuverToCarManeuver(siroCode: Int): Int {
|
||||
return when (siroCode) {
|
||||
private fun mapTripzManeuverToCarManeuver(tripzCode: Int): Int {
|
||||
return when (tripzCode) {
|
||||
0 -> Maneuver.TYPE_STRAIGHT // مستقيم
|
||||
2 -> Maneuver.TYPE_TURN_NORMAL_RIGHT // يمين
|
||||
3 -> Maneuver.TYPE_TURN_SLIGHT_RIGHT // يمين خفيف
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
import android.content.Intent
|
||||
import android.hardware.display.DisplayManager
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.siro.siro_driver
|
||||
package com.tripz.tripz_driver
|
||||
|
||||
object RootDetection {
|
||||
init {
|
||||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 39 KiB |
@@ -4,5 +4,5 @@
|
||||
تشغيل التطبيق على هذا الجهاز.</string>
|
||||
<string name="exit_button">إغلاق التطبيق</string>
|
||||
<string name="device_secure">الجهاز آمن. الاستمرار بشكل طبيعي.</string>
|
||||
<string name="label">سيرو درايفر</string>
|
||||
<string name="label">تريبز درايفر</string>
|
||||
</resources>
|
||||
@@ -6,7 +6,7 @@
|
||||
<string name="api_key">e</string>
|
||||
<string name="security_warning_title">Security Warning</string>
|
||||
<string name="api_key_safety">AIzaSyB04YNW3LbvmQ5lX1t2bOwEU18-</string>
|
||||
<string name="label">Siro Driver</string>
|
||||
<string name="label">Tripz Driver</string>
|
||||
|
||||
<string name="security_warning_message">A security issue or modification has been detected on
|
||||
this device. The app cannot run on this device.</string>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
</base-config>
|
||||
|
||||
<domain-config cleartextTrafficPermitted="false">
|
||||
<domain includeSubdomains="true">intaleq.xyz</domain>
|
||||
<domain includeSubdomains="true">siromove.com</domain>
|
||||
<domain includeSubdomains="true">tripz.xyz</domain>
|
||||
<domain includeSubdomains="true">tripzmove.com</domain>
|
||||
|
||||
<pin-set expiration="2028-01-01">
|
||||
<!-- Primary: ISRG Root X1 (RSA) -->
|
||||
|
||||
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 561 KiB After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 4.0 MiB |
@@ -1 +1 @@
|
||||
{"flutter":{"platforms":{"android":{"default":{"projectId":"siro-a6957","appId":"1:825988584191:android:492d9bc1df6b40c51632ca","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"siro-a6957","appId":"1:825988584191:ios:a86f1a54f0b1aaa21632ca","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"siro-a6957","configurations":{"android":"1:825988584191:android:492d9bc1df6b40c51632ca","ios":"1:825988584191:ios:a86f1a54f0b1aaa21632ca"}}}}}}
|
||||
{"flutter":{"platforms":{"android":{"default":{"projectId":"tripz-a6957","appId":"1:825988584191:android:492d9bc1df6b40c51632ca","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"tripz-a6957","appId":"1:825988584191:ios:a86f1a54f0b1aaa21632ca","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"tripz-a6957","configurations":{"android":"1:825988584191:android:492d9bc1df6b40c51632ca","ios":"1:825988584191:ios:a86f1a54f0b1aaa21632ca"}}}}}}
|
||||
@@ -1 +1 @@
|
||||
# siro-driver
|
||||
# tripz-driver
|
||||
|
||||
@@ -521,7 +521,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.siro.siro-driver";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.sefer.driver";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
@@ -538,7 +538,7 @@
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.siroDriver.RunnerTests;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tripzDriver.RunnerTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
@@ -556,7 +556,7 @@
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.siroDriver.RunnerTests;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tripzDriver.RunnerTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
||||
@@ -572,7 +572,7 @@
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.siroDriver.RunnerTests;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tripzDriver.RunnerTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
||||
@@ -706,7 +706,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.siro.siro-driver";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.sefer.driver";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
@@ -731,7 +731,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.siro.siro-driver";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.sefer.driver";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
|
||||
@@ -44,7 +44,7 @@ import CoreLocation
|
||||
return
|
||||
}
|
||||
|
||||
let channel = FlutterMethodChannel(name: "com.siro.siro_driver/security",
|
||||
let channel = FlutterMethodChannel(name: "com.tripz.tripz_driver/security",
|
||||
binaryMessenger: controller.binaryMessenger)
|
||||
channel.setMethodCallHandler { call, result in
|
||||
switch call.method {
|
||||
|
||||
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 9.7 KiB |
@@ -11,7 +11,7 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Siro Driver</string>
|
||||
<string>Tripz Driver</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
@@ -23,7 +23,7 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>siro_driver</string>
|
||||
<string>tripz_driver</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
@@ -38,10 +38,10 @@
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>siromove.com</string>
|
||||
<string>tripzmove.com</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>siromove</string>
|
||||
<string>tripzmove</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 🚗 دورة حياة الرحلة - تطبيق السائق (Driver Ride Lifecycle)
|
||||
|
||||
<div dir="rtl" align="right">
|
||||
هذا الملف هو مرجع هندسي شامل ودقيق (Source of Truth) يوضح كافة تفاصيل دورة حياة الرحلة (Ride Lifecycle) في تطبيق السائق (Siro Driver). تمت كتابته وتوثيقه ليكون دليلاً استرشادياً كاملاً لأي مهندس برمجي أو نموذج ذكاء اصطناعي (AI Agent) يرغب في فهم أو تعديل منطق الرحلات، تتبع المواقع، أو معالجة الحالات الفعالة.
|
||||
هذا الملف هو مرجع هندسي شامل ودقيق (Source of Truth) يوضح كافة تفاصيل دورة حياة الرحلة (Ride Lifecycle) في تطبيق السائق (Tripz Driver). تمت كتابته وتوثيقه ليكون دليلاً استرشادياً كاملاً لأي مهندس برمجي أو نموذج ذكاء اصطناعي (AI Agent) يرغب في فهم أو تعديل منطق الرحلات، تتبع المواقع، أو معالجة الحالات الفعالة.
|
||||
</div>
|
||||
|
||||
---
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<div dir="rtl" align="right">
|
||||
يعد الكنترولر
|
||||
[LocationController](file:///Users/hamzaaleghwairyeen/development/App/Siro/siro_driver/lib/controller/functions/location_controller.dart)
|
||||
[LocationController](file:///Users/hamzaaleghwairyeen/development/App/Tripz/tripz_driver/lib/controller/functions/location_controller.dart)
|
||||
هو المصدر الوحيد والمركزى (Single Source of Truth) لكافة تحديثات نظام التموضع العالمي (GPS). يُمنع منعاً باتاً إنشاء اشتراكات أو فتح قنوات استماع موازية مع Geolocator أو Location في أي مكان آخر.
|
||||
</div>
|
||||
|
||||
@@ -56,7 +56,7 @@ void initSocket()
|
||||
```
|
||||
|
||||
<div dir="rtl" align="right">
|
||||
تقوم بفتح قناة اتصال مع خادم المواقع (`https://location.intaleq.xyz`) وتجهيز معلمات الاتصال (`driver_id`, `token`). تحتوي الدالة على حماية ضد الاستدعاءات المتداخلة (Debounce Flag: `_isInitializingSocket`).
|
||||
تقوم بفتح قناة اتصال مع خادم المواقع (`https://location.tripz.xyz`) وتجهيز معلمات الاتصال (`driver_id`, `token`). تحتوي الدالة على حماية ضد الاستدعاءات المتداخلة (Debounce Flag: `_isInitializingSocket`).
|
||||
</div>
|
||||
|
||||
<div dir="rtl" align="right">
|
||||
@@ -132,7 +132,7 @@ Future<void> _subscribeLocationStream()
|
||||
|
||||
<div dir="rtl" align="right">
|
||||
يتحكم
|
||||
[MapDriverController](file:///Users/hamzaaleghwairyeen/development/App/Siro/siro_driver/lib/controller/home/captin/map_driver_controller.dart)
|
||||
[MapDriverController](file:///Users/hamzaaleghwairyeen/development/App/Tripz/tripz_driver/lib/controller/home/captin/map_driver_controller.dart)
|
||||
في مراحل تنفيذ الطلب بعد القبول، ورسم المسارات، وعمليات الوصول والإنهاء.
|
||||
</div>
|
||||
|
||||
|
||||
@@ -69,14 +69,14 @@ class CountryPolygons {
|
||||
static String getRoutingApiUrl(String countryName) {
|
||||
switch (countryName) {
|
||||
case 'Jordan':
|
||||
return 'https://routec.intaleq.xyz/route-jo';
|
||||
return 'https://routec.tripz.xyz/route-jo';
|
||||
case 'Syria':
|
||||
return 'https://routec.intaleq.xyz/route';
|
||||
return 'https://routec.tripz.xyz/route';
|
||||
case 'Egypt':
|
||||
return 'https://routec.intaleq.xyz/route-eg';
|
||||
return 'https://routec.tripz.xyz/route-eg';
|
||||
default:
|
||||
// الافتراضي في حالة لم يقع الموقع ضمن أي من المضلعات
|
||||
return 'https://routec.intaleq.xyz/route';
|
||||
return 'https://routec.tripz.xyz/route';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class CurrencyHelper {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
class AppInformation {
|
||||
static const String companyName = 'Siro';
|
||||
static const String appName = 'Siro DRIVER';
|
||||
static const String appVersion = 'Siro DRIVER';
|
||||
static const String companyName = 'Tripz';
|
||||
static const String appName = 'Tripz DRIVER';
|
||||
static const String appVersion = 'Tripz DRIVER';
|
||||
static const String phoneNumber = '';
|
||||
static const String linkedInProfile =
|
||||
'https://www.linkedin.com/in/hamza-ayed/';
|
||||
static const String website = 'https://intaleqapp.com';
|
||||
static const String email = 'support@intaleqapp.com';
|
||||
static const String website = 'https://tripzapp.com';
|
||||
static const String email = 'support@tripzapp.com';
|
||||
static const String complaintPrompt =
|
||||
'for this data for complaint from driver or passenger i collect all data i want you analyze this complaint and show what is reason and what is solution .this data collected from many table to find solution if payment in visa not complete and if ride status is finished it will be paymnet in payment table if ride status is not finished there is no need to pay and payment table is null for this ride and if paymentFromPaymentTable not null and visa type not cash the payment sucssessed . if ratingpassenger is low or passengr rating drivers low grade then dont mine of this passenger ,look at driver too like passengerratingdriver with rating or ratingtopassenger .in json add status of complaint and message to passenger and message to driver and message to call center write in arabic in json output with key in english .for output please just json i want';
|
||||
static const String addd = 'BlBlNl';
|
||||
@@ -16,7 +16,7 @@ class AppInformation {
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Siro - Privacy Policy & Terms of Use</title>
|
||||
<title>Tripz - Privacy Policy & Terms of Use</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
@@ -71,11 +71,11 @@ class AppInformation {
|
||||
</div>
|
||||
|
||||
<h2>1. Introduction and Acceptance</h2>
|
||||
<p>By downloading, registering, or using the Siro application ("App"), you agree to be bound by this Privacy Policy and our Terms of Use. If you do not agree, you must stop using the App immediately. Your continued use constitutes acceptance of these terms and any future updates.</p>
|
||||
<p>By downloading, registering, or using the Tripz application ("App"), you agree to be bound by this Privacy Policy and our Terms of Use. If you do not agree, you must stop using the App immediately. Your continued use constitutes acceptance of these terms and any future updates.</p>
|
||||
|
||||
<h2>2. Definitions</h2>
|
||||
<ul>
|
||||
<li><strong>"Siro", "we", "us":</strong> Refers to the Siro for Ride Hailing company, Damascus – Syria (Owner & operator), which provides the technology platform.</li>
|
||||
<li><strong>"Tripz", "we", "us":</strong> Refers to the Tripz for Ride Hailing company, Damascus – Syria (Owner & operator), which provides the technology platform.</li>
|
||||
<li><strong>"Driver":</strong> An independent service provider who uses the App to offer transportation services.</li>
|
||||
<li><strong>"Passenger", "you":</strong> An individual who uses the App to request transportation services.</li>
|
||||
<li><strong>"Services":</strong> The connection between Passengers and Drivers facilitated by our App.</li>
|
||||
@@ -136,14 +136,14 @@ class AppInformation {
|
||||
</ul>
|
||||
|
||||
<h2>5. Disclaimer of Liability</h2>
|
||||
<p>The App is provided "as is". Siro is an intermediary platform and is not liable for the actions of Drivers or Passengers, accidents, delays, or any disputes between users. Our liability is limited to the fullest extent permitted by law.</p>
|
||||
<p>The App is provided "as is". Tripz is an intermediary platform and is not liable for the actions of Drivers or Passengers, accidents, delays, or any disputes between users. Our liability is limited to the fullest extent permitted by law.</p>
|
||||
|
||||
<h2>6. Policy Updates</h2>
|
||||
<p>We may update these terms. If we make significant changes, we will notify you within the App. You will be required to review and accept the new terms to continue using the Services, ensuring your consent is active and informed.</p>
|
||||
|
||||
<h2>7. Account Deletion & Contact</h2>
|
||||
<p>You have the right to request the deletion of your account and personal data. To do so, or for any other questions, please contact us. We will respond to deletion requests within 30 days.</p>
|
||||
<p><strong>Email:</strong> <a href="mailto:support@intaleqapp.com">support@intaleqapp.com</a></p>
|
||||
<p><strong>Email:</strong> <a href="mailto:support@tripzapp.com">support@tripzapp.com</a></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -155,7 +155,7 @@ class AppInformation {
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>سيرو - سياسة الخصوصية وشروط الاستخدام</title>
|
||||
<title>تريبز - سياسة الخصوصية وشروط الاستخدام</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
@@ -211,11 +211,11 @@ class AppInformation {
|
||||
</div>
|
||||
|
||||
<h2>1. المقدمة والقبول</h2>
|
||||
<p>عبر تحميل أو تسجيل أو استخدام تطبيق "سيرو" ("التطبيق")، فإنك توافق على الالتزام بسياسة الخصوصية وشروط الاستخدام هذه. إذا كنت لا توافق، يجب عليك التوقف فورًا عن استخدام التطبيق. استمرارك في الاستخدام يُعد قبولاً لهذه الشروط وأي تحديثات مستقبلية لها.</p>
|
||||
<p>عبر تحميل أو تسجيل أو استخدام تطبيق "تريبز" ("التطبيق")، فإنك توافق على الالتزام بسياسة الخصوصية وشروط الاستخدام هذه. إذا كنت لا توافق، يجب عليك التوقف فورًا عن استخدام التطبيق. استمرارك في الاستخدام يُعد قبولاً لهذه الشروط وأي تحديثات مستقبلية لها.</p>
|
||||
|
||||
<h2>2. التعريفات</h2>
|
||||
<ul>
|
||||
<li><strong>"سيرو"، "نحن":</strong> تشير إلى شركة سيرو لنقل الركاب، دمشق – سوريا (مالك ومشغل التطبيق)، التي توفر المنصة التقنية.</li>
|
||||
<li><strong>"تريبز"، "نحن":</strong> تشير إلى شركة تريبز لنقل الركاب، دمشق – سوريا (مالك ومشغل التطبيق)، التي توفر المنصة التقنية.</li>
|
||||
<li><strong>"السائق":</strong> مقدم خدمة مستقل يستخدم التطبيق لتقديم خدمات النقل.</li>
|
||||
<li><strong>"الراكب"، "أنت":</strong> الفرد الذي يستخدم التطبيق لطلب خدمات النقل.</li>
|
||||
<li><strong>"الخدمات":</strong> عملية الربط بين الركاب والسائقين التي يسهلها تطبيقنا.</li>
|
||||
@@ -276,14 +276,14 @@ class AppInformation {
|
||||
</ul>
|
||||
|
||||
<h2>5. إخلاء المسؤولية</h2>
|
||||
<p>يتم تقديم التطبيق "كما هو". "سيرو" هي منصة وسيطة وليست مسؤولة عن تصرفات السائقين أو الركاب، أو الحوادث، أو التأخير، أو أي نزاعات بين المستخدمين. مسؤوليتنا محدودة إلى أقصى حد يسمح به القانون.</p>
|
||||
<p>يتم تقديم التطبيق "كما هو". "تريبز" هي منصة وسيطة وليست مسؤولة عن تصرفات السائقين أو الركاب، أو الحوادث، أو التأخير، أو أي نزاعات بين المستخدمين. مسؤوليتنا محدودة إلى أقصى حد يسمح به القانون.</p>
|
||||
|
||||
<h2>6. تحديثات السياسة</h2>
|
||||
<p>قد نقوم بتحديث هذه الشروط. في حال إجراء تغييرات جوهرية، سنقوم بإعلامك داخل التطبيق. سيُطلب منك مراجعة الشروط الجديدة وقبولها لمواصلة استخدام الخدمات، لضمان أن موافقتك فعالة ومبنية على معرفة.</p>
|
||||
|
||||
<h2>7. حذف الحساب والتواصل</h2>
|
||||
<p>لديك الحق في طلب حذف حسابك وبياناتك الشخصية. للقيام بذلك، أو لأي استفسارات أخرى، يرجى التواصل معنا. سنرد على طلبات الحذف في غضون 30 يومًا.</p>
|
||||
<p><strong>البريد الإلكتروني:</strong> <a href="mailto:support@intaleqapp.com">support@intaleqapp.com</a></p>
|
||||
<p><strong>البريد الإلكتروني:</strong> <a href="mailto:support@tripzapp.com">support@tripzapp.com</a></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// import 'package:siro_driver/env/env.dart';
|
||||
// import 'package:tripz_driver/env/env.dart';
|
||||
|
||||
import '../main.dart';
|
||||
import 'box_name.dart';
|
||||
@@ -9,35 +9,35 @@ class AppLink {
|
||||
static String get paymentServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://wallet-syria.siromove.com/v1/main';
|
||||
return 'https://wallet-syria.tripzmove.com/v1/main';
|
||||
case 'Egypt':
|
||||
return 'https://wallet-egypt.siromove.com/v1/main';
|
||||
return 'https://wallet-egypt.tripzmove.com/v1/main';
|
||||
case 'Jordan':
|
||||
return 'https://walletintaleq.intaleq.xyz/v2/main';
|
||||
return 'https://wallettripz.tripz.xyz/v2/main';
|
||||
default:
|
||||
return 'https://wallet.siromove.com/v1/main';
|
||||
return 'https://wallet.tripzmove.com/v1/main';
|
||||
}
|
||||
}
|
||||
|
||||
static const String appDomain = 'siromove.com';
|
||||
static const String appDomain = 'tripzmove.com';
|
||||
|
||||
static String get inviteRedirectUrl {
|
||||
if (currentCountry == 'Syria') {
|
||||
return "https://siromove.com/inviteSyria.php";
|
||||
return "https://tripzmove.com/inviteSyria.php";
|
||||
}
|
||||
return "https://siromove.com/invite.php";
|
||||
return "https://tripzmove.com/invite.php";
|
||||
}
|
||||
|
||||
static String get location {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://api-syria.siromove.com/siro_v3/ride/location';
|
||||
return 'https://api-syria.tripzmove.com/tripz_v3/ride/location';
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro_v3/ride/location';
|
||||
return 'https://api-egypt.tripzmove.com/tripz_v3/ride/location';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/backend/ride/location';
|
||||
return 'https://jordan-tripz.tripzapp.com/backend/ride/location';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro_v3/ride/location';
|
||||
return 'https://api.tripzmove.com/tripz_v3/ride/location';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,65 +46,65 @@ class AppLink {
|
||||
static String get locationServerSide {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://location-syria.siromove.com/siro/ride/location';
|
||||
return 'https://location-syria.tripzmove.com/tripz/ride/location';
|
||||
case 'Egypt':
|
||||
return 'https://location-egypt.siromove.com/siro/ride/location';
|
||||
return 'https://location-egypt.tripzmove.com/tripz/ride/location';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/loction_server/siro/ride/location';
|
||||
return 'https://jordan-tripz.tripzapp.com/loction_server/tripz/ride/location';
|
||||
default:
|
||||
return 'https://location-jordan.siromove.com/siro/ride/location';
|
||||
return 'https://location-jordan.tripzmove.com/tripz/ride/location';
|
||||
}
|
||||
}
|
||||
|
||||
static String get locationSocketUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://location-syria.siromove.com';
|
||||
return 'https://location-syria.tripzmove.com';
|
||||
case 'Egypt':
|
||||
return 'https://location-egypt.siromove.com';
|
||||
return 'https://location-egypt.tripzmove.com';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com:2020';
|
||||
return 'https://jordan-tripz.tripzapp.com:2020';
|
||||
default:
|
||||
return 'https://jordan-siro.intaleqapp.com:2020';
|
||||
return 'https://jordan-tripz.tripzapp.com:2020';
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasRoute {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/maps/route';
|
||||
return 'https://map-syria.tripzmove.com/api/maps/route';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/maps/route';
|
||||
return 'https://map-egypt.tripzmove.com/api/maps/route';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
return 'https://map-saas.tripzapp.com/api/maps/route';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
return 'https://map-saas.tripzapp.com/api/maps/route';
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasPlaces {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/geocoding/places';
|
||||
return 'https://map-syria.tripzmove.com/api/geocoding/places';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/geocoding/places';
|
||||
return 'https://map-egypt.tripzmove.com/api/geocoding/places';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
return 'https://map-saas.tripzapp.com/api/geocoding/places';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
return 'https://map-saas.tripzapp.com/api/geocoding/places';
|
||||
}
|
||||
}
|
||||
|
||||
static String get routeApiBaseUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return "https://routes-syria.siromove.com/route/v1/driving";
|
||||
return "https://routes-syria.tripzmove.com/route/v1/driving";
|
||||
case 'Egypt':
|
||||
return "https://routes-egypt.siromove.com/route/v1/driving";
|
||||
return "https://routes-egypt.tripzmove.com/route/v1/driving";
|
||||
case 'Jordan':
|
||||
return "https://routesjo.intaleq.xyz/route/v1/driving";
|
||||
return "https://routesjo.tripz.xyz/route/v1/driving";
|
||||
default:
|
||||
return "https://routes.siromove.com/route/v1/driving";
|
||||
return "https://routes.tripzmove.com/route/v1/driving";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,35 +113,35 @@ class AppLink {
|
||||
static String get endPoint {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://api-syria.siromove.com/siro';
|
||||
return 'https://api-syria.tripzmove.com/tripz';
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro';
|
||||
return 'https://api-egypt.tripzmove.com/tripz';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/backend';
|
||||
return 'https://jordan-tripz.tripzapp.com/backend';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro';
|
||||
return 'https://api.tripzmove.com/tripz';
|
||||
}
|
||||
}
|
||||
|
||||
static String get syria => 'https://api-syria.siromove.com/siro';
|
||||
static String get syria => 'https://api-syria.tripzmove.com/tripz';
|
||||
static String get server => endPoint;
|
||||
|
||||
///=================ride==========================///
|
||||
///https://jordan-siro.intaleqapp.com/backend
|
||||
///https://jordan-tripz.tripzapp.com/backend
|
||||
static String get ride => '$server/ride';
|
||||
|
||||
/// this ride server is for socket communication not for rest api calls
|
||||
/// https://rides.intaleq.xyz/intaleq
|
||||
/// https://rides.tripz.xyz/tripz
|
||||
static String get rideServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://ride-syria.siromove.com/siro/ride';
|
||||
return 'https://ride-syria.tripzmove.com/tripz/ride';
|
||||
case 'Egypt':
|
||||
return 'https://ride-egypt.siromove.com/siro/ride';
|
||||
return 'https://ride-egypt.tripzmove.com/tripz/ride';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/backend';
|
||||
return 'https://jordan-tripz.tripzapp.com/backend';
|
||||
default:
|
||||
return 'https://jordan-siro.intaleqapp.com/backend';
|
||||
return 'https://jordan-tripz.tripzapp.com/backend';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,17 +151,17 @@ class AppLink {
|
||||
static String get getPredictiveDemand =>
|
||||
"$server/api/demand/getPredictiveDemandZones.php";
|
||||
|
||||
///mapOSM = 'https://routesy.intaleq.xyz'
|
||||
///mapOSM = 'https://routesy.tripz.xyz'
|
||||
static String get mapOSM {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://routes-syria.siromove.com';
|
||||
return 'https://routes-syria.tripzmove.com';
|
||||
case 'Egypt':
|
||||
return 'https://routes-egypt.siromove.com';
|
||||
return 'https://routes-egypt.tripzmove.com';
|
||||
case 'Jordan':
|
||||
return 'https://routesjo.intaleq.xyz';
|
||||
return 'https://routesjo.tripz.xyz';
|
||||
default:
|
||||
return 'https://routes.siromove.com';
|
||||
return 'https://routes.tripzmove.com';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -396,13 +396,13 @@ class AppLink {
|
||||
static String get reverseGeocoding {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/geocoding/reverse';
|
||||
return 'https://map-syria.tripzmove.com/api/geocoding/reverse';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/geocoding/reverse';
|
||||
return 'https://map-egypt.tripzmove.com/api/geocoding/reverse';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/reverse';
|
||||
return 'https://map-saas.tripzapp.com/api/geocoding/reverse';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/reverse';
|
||||
return 'https://map-saas.tripzapp.com/api/geocoding/reverse';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@ List<String> syrianDriverMessages = [
|
||||
"رزقتك جاهزة: 💸 لا تخلّي الزباين يستنّوا، افتح التطبيق وخليك متأهّب.",
|
||||
|
||||
// --- التقدير والشكر ---
|
||||
"شكراً إلك: 🙏 إنت مو بس سائق، إنت أساس نجاح تطبيق سيرو.",
|
||||
"شكراً إلك: 🙏 إنت مو بس سائق، إنت أساس نجاح تطبيق تريبز.",
|
||||
"نفتخر فيك: 🌟 الكباتن متلك هنن يلي رافعين اسمنا بالعالي.",
|
||||
"أداء ممتاز: 👍 استمر بنفس الروح الحلوة، زباينك مبسوطين منك.",
|
||||
"نجاح مشترك: 🗺️ كل توصيلة بتعملها بتكبر فيها شركتنا وانت كمان.",
|
||||
|
||||
// --- التحفيز والتشجيع ---
|
||||
"صباح النشاط: ☀️ بلّش نهارك بطاقة إيجابية وسيرو لتكسب أكتر.",
|
||||
"صباح النشاط: ☀️ بلّش نهارك بطاقة إيجابية وتريبز لتكسب أكتر.",
|
||||
"كل مشوار فرصة: 🏁 لا توقف، الطريق لإلك والنجاح ناطرك.",
|
||||
"يوم مربح: 💼 السوق ناشط اليوم، لا تفوّت الفرصة!",
|
||||
"جاهز للطلب الجاي: 🔔 الزبون الجاي ممكن يكون أوفر ممتاز، خليك مستعد.",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
|
||||
class RechargeTier {
|
||||
final double amount;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'colors.dart';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import '../../../constant/box_name.dart';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:siro_driver/constant/currency.dart';
|
||||
import 'package:tripz_driver/constant/currency.dart';
|
||||
import 'dart:convert';
|
||||
import 'dart:developer';
|
||||
|
||||
@@ -7,15 +7,15 @@ import 'package:flutter_contacts/contact.dart';
|
||||
import 'package:flutter_contacts/flutter_contacts.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:local_auth/local_auth.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/controller/home/payment/captain_wallet_controller.dart';
|
||||
import 'package:siro_driver/print.dart';
|
||||
import 'package:siro_driver/controller/functions/country_logic.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:siro_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/controller/home/payment/captain_wallet_controller.dart';
|
||||
import 'package:tripz_driver/print.dart';
|
||||
import 'package:tripz_driver/controller/functions/country_logic.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
import '../../firebase/local_notification.dart';
|
||||
@@ -43,10 +43,10 @@ class InviteController extends GetxController {
|
||||
Future<void> shareDriverCode() async {
|
||||
if (driverCouponCode != null) {
|
||||
final String shareText =
|
||||
'''Join Siro as a driver using my referral code!
|
||||
'''Join Tripz as a driver using my referral code!
|
||||
Use code: $driverCouponCode
|
||||
Download the Siro Driver app now and earn rewards:
|
||||
https://siromove.com/invite.php?code=$driverCouponCode&app=driver
|
||||
Download the Tripz Driver app now and earn rewards:
|
||||
https://tripzmove.com/invite.php?code=$driverCouponCode&app=driver
|
||||
''';
|
||||
await Share.share(shareText);
|
||||
}
|
||||
@@ -54,10 +54,10 @@ https://siromove.com/invite.php?code=$driverCouponCode&app=driver
|
||||
|
||||
Future<void> sharePassengerCode() async {
|
||||
if (couponCode != null) {
|
||||
final String shareText = '''Get a discount on your first Siro ride!
|
||||
final String shareText = '''Get a discount on your first Tripz ride!
|
||||
Use my referral code: $couponCode
|
||||
Download the Siro app now and enjoy your ride:
|
||||
https://siromove.com/invite.php?code=$couponCode&app=rider
|
||||
Download the Tripz app now and enjoy your ride:
|
||||
https://tripzmove.com/invite.php?code=$couponCode&app=rider
|
||||
''';
|
||||
await Share.share(shareText);
|
||||
}
|
||||
@@ -494,7 +494,7 @@ https://siromove.com/invite.php?code=$couponCode&app=rider
|
||||
var d = response;
|
||||
mySnackbarSuccess('Invite sent successfully'.tr);
|
||||
String inviteCode = d['message']['inviteCode'].toString();
|
||||
String message = '${'*Siro DRIVER CODE*'.tr}\n\n'
|
||||
String message = '${'*Tripz DRIVER CODE*'.tr}\n\n'
|
||||
'${"Use this code in registration".tr}\n'
|
||||
'${"To get a gift for both".tr}\n\n'
|
||||
'${"The period of this code is 24 hours".tr}\n\n'
|
||||
@@ -539,7 +539,7 @@ https://siromove.com/invite.php?code=$couponCode&app=rider
|
||||
mySnackbarSuccess('Invite sent successfully'.tr);
|
||||
String inviteCode = d['message']['inviteCode'].toString();
|
||||
|
||||
String message = '${'*Siro APP CODE*'.tr}\n\n'
|
||||
String message = '${'*Tripz APP CODE*'.tr}\n\n'
|
||||
'${"Use this code in registration".tr}\n\n'
|
||||
'${"To get a gift for both".tr}\n\n'
|
||||
'${"The period of this code is 24 hours".tr}\n\n'
|
||||
|
||||
@@ -5,17 +5,17 @@ import 'package:crypto/crypto.dart';
|
||||
import 'dart:math';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'package:siro_driver/views/auth/syria/registration_view.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/auth/syria/registration_view.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
import 'package:location/location.dart';
|
||||
|
||||
import '../../../constant/api_key.dart';
|
||||
@@ -474,7 +474,7 @@ class LoginDriverController extends GetxController {
|
||||
// print(jsonDecode(token)['data'][0]['token'].toString());
|
||||
// print(box.read(BoxName.tokenDriver).toString());
|
||||
// if (box.read(BoxName.emailDriver).toString() !=
|
||||
// '963992952235@intaleqapp.com') {
|
||||
// '963992952235@tripzapp.com') {
|
||||
if (token != 'failure') {
|
||||
var serverData = jsonDecode(token);
|
||||
final serverToken = serverData['data'][0]['token'].toString();
|
||||
|
||||
@@ -4,8 +4,8 @@ import 'package:get/get.dart';
|
||||
// import 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart';
|
||||
import 'package:image_cropper/image_cropper.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
import 'package:siro_driver/constant/colors.dart';
|
||||
import 'package:siro_driver/controller/functions/llama_ai.dart';
|
||||
import 'package:tripz_driver/constant/colors.dart';
|
||||
import 'package:tripz_driver/controller/functions/llama_ai.dart';
|
||||
|
||||
// class CarRegistrationRecognizerController extends GetxController {
|
||||
// @override
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/print.dart';
|
||||
import 'package:siro_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
import 'package:tripz_driver/print.dart';
|
||||
import 'package:tripz_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
|
||||
import '../../../constant/box_name.dart';
|
||||
import '../../../constant/links.dart';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/print.dart';
|
||||
import 'package:siro_driver/views/home/on_boarding_page.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:siro_driver/controller/functions/country_logic.dart';
|
||||
import 'package:tripz_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/print.dart';
|
||||
import 'package:tripz_driver/views/home/on_boarding_page.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/controller/functions/country_logic.dart';
|
||||
|
||||
import '../../../constant/box_name.dart';
|
||||
import '../../../constant/links.dart';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
|
||||
import '../../models/model/onboarding_model.dart';
|
||||
import '../../views/auth/captin/login_captin.dart';
|
||||
|
||||
@@ -7,8 +7,8 @@ import 'package:image_picker/image_picker.dart';
|
||||
import 'package:image_cropper/image_cropper.dart';
|
||||
import 'package:image/image.dart' as img;
|
||||
import 'package:path/path.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/firebase/notification_service.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/firebase/notification_service.dart';
|
||||
import '../../../constant/box_name.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
|
||||
@@ -612,7 +612,7 @@ class RegistrationController extends GetxController {
|
||||
_addField(fields, 'password', 'generated_password_or_token');
|
||||
_addField(fields, 'status', 'yet');
|
||||
|
||||
String generatedEmail = 'driver_${box.read(BoxName.driverID) ?? DateTime.now().millisecondsSinceEpoch}@siromove.com';
|
||||
String generatedEmail = 'driver_${box.read(BoxName.driverID) ?? DateTime.now().millisecondsSinceEpoch}@tripzmove.com';
|
||||
_addField(fields, 'email', generatedEmail);
|
||||
_addField(fields, 'gender', 'Male'); // يفضل ربطها بـ Dropdown أيضاً
|
||||
_addField(fields, 'country', box.read(BoxName.countryCode)?.toString() ?? 'Jordan');
|
||||
@@ -764,7 +764,7 @@ class RegistrationController extends GetxController {
|
||||
// isLoading.value = true;
|
||||
|
||||
// final uri = Uri.parse(
|
||||
// 'https://intaleq.xyz/siro/auth/driver/register.php',
|
||||
// 'https://tripz.xyz/tripz/auth/driver/register.php',
|
||||
// );
|
||||
|
||||
// final client = http.Client();
|
||||
|
||||
@@ -12,14 +12,14 @@ import 'dart:io';
|
||||
/// 6. Final Submission (register_driver_and_car.php → Gemini bulk AI → DB insert → FCM)
|
||||
/// 7. Admin Review & Activation
|
||||
///
|
||||
/// Run: `dart run siro_driver/lib/controller/auth/syria/registration_simulation.dart`
|
||||
/// Run: `dart run tripz_driver/lib/controller/auth/syria/registration_simulation.dart`
|
||||
|
||||
void main() async {
|
||||
print('═══════════════════════════════════════════════════════');
|
||||
print(' SYRIA DRIVER REGISTRATION SIMULATION');
|
||||
print('═══════════════════════════════════════════════════════');
|
||||
|
||||
const host = 'api-syria.siromove.com';
|
||||
const host = 'api-syria.tripzmove.com';
|
||||
const protocol = 'https';
|
||||
const driverId = 'DRV2026061912345678';
|
||||
|
||||
@@ -137,7 +137,7 @@ void main() async {
|
||||
}
|
||||
print(' ✅ AI extraction: $expectedExtraction');
|
||||
|
||||
print(' ✅ Image URL: $protocol://$host/siro/auth/uploads/documents/driver_${docType}_$driverId.jpg');
|
||||
print(' ✅ Image URL: $protocol://$host/tripz/auth/uploads/documents/driver_${docType}_$driverId.jpg');
|
||||
}
|
||||
|
||||
// ================================================================
|
||||
@@ -163,7 +163,7 @@ void main() async {
|
||||
print(' MIME validation: image/jpeg, image/png, image/webp');
|
||||
print(' Max size: 5 MB');
|
||||
|
||||
final signedUrl = '$protocol://$host/siro/secure_image.php'
|
||||
final signedUrl = '$protocol://$host/tripz/secure_image.php'
|
||||
'?driver_id=$driverId'
|
||||
'&doc_type=$docType'
|
||||
'&ext=jpg'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import 'package:flutter/services.dart';
|
||||
class CarPlatformBridge {
|
||||
CarPlatformBridge._();
|
||||
|
||||
static const _channel = MethodChannel('com.siro.siro_driver/car_navigation');
|
||||
static const _channel = MethodChannel('com.tripz.tripz_driver/car_navigation');
|
||||
|
||||
static bool _isInitialized = false;
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:siro_driver/controller/home/captin/home_captain_controller.dart';
|
||||
import 'package:siro_driver/views/home/Captin/orderCaptin/order_speed_request.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:siro_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:siro_driver/controller/voice_call_controller.dart';
|
||||
import 'package:tripz_driver/controller/home/captin/home_captain_controller.dart';
|
||||
import 'package:tripz_driver/views/home/Captin/orderCaptin/order_speed_request.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:tripz_driver/controller/voice_call_controller.dart';
|
||||
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
|
||||
import '../../constant/box_name.dart';
|
||||
import '../../constant/colors.dart';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:siro_driver/constant/currency.dart';
|
||||
import 'package:tripz_driver/constant/currency.dart';
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/views/home/Captin/home_captain/home_captin.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class OverlayContent1 extends StatelessWidget {
|
||||
|
||||
@@ -67,8 +67,8 @@ class AppUpdateController extends GetxController {
|
||||
|
||||
void _showStoreUpdateDialog() {
|
||||
final String storeUrl = Platform.isAndroid
|
||||
? 'https://play.google.com/store/apps/details?id=com.siro_driver'
|
||||
: 'https://apps.apple.com/jo/app/siro-driver/id6482995159';
|
||||
? 'https://play.google.com/store/apps/details?id=com.tripz_driver'
|
||||
: 'https://apps.apple.com/jo/app/tripz-driver/id6482995159';
|
||||
|
||||
Get.defaultDialog(
|
||||
title: "تحديث جديد متوفر".tr,
|
||||
|
||||
@@ -5,9 +5,9 @@ import 'dart:io';
|
||||
import 'package:camera/camera.dart';
|
||||
import 'package:get/get.dart';
|
||||
// import 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:path_provider/path_provider.dart' as path_provider;
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import 'package:geolocator/geolocator.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:intaleq_maps/intaleq_maps.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/country_polygons.dart';
|
||||
import 'package:siro_driver/constant/city_polygons.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/country_polygons.dart';
|
||||
import 'package:tripz_driver/constant/city_polygons.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import '../../print.dart';
|
||||
|
||||
class CountryLogic {
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:siro_driver/controller/functions/encrypt_decrypt.dart';
|
||||
import 'package:siro_driver/controller/functions/network/net_guard.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/controller/functions/encrypt_decrypt.dart';
|
||||
import 'package:tripz_driver/controller/functions/network/net_guard.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:siro_driver/env/env.dart';
|
||||
import 'package:siro_driver/print.dart';
|
||||
import 'package:siro_driver/controller/functions/package_info.dart';
|
||||
import 'package:tripz_driver/env/env.dart';
|
||||
import 'package:tripz_driver/print.dart';
|
||||
import 'package:tripz_driver/controller/functions/package_info.dart';
|
||||
|
||||
import '../../constant/api_key.dart';
|
||||
import '../../views/widgets/error_snakbar.dart';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:siro_driver/constant/api_key.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/api_key.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
import '../../constant/links.dart';
|
||||
|
||||
@@ -4,18 +4,18 @@ import 'dart:io';
|
||||
import 'dart:convert';
|
||||
import 'package:crypto/crypto.dart';
|
||||
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/info.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/constant/style.dart';
|
||||
import 'package:siro_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:siro_driver/controller/firebase/firbase_messge.dart';
|
||||
import 'package:siro_driver/controller/firebase/local_notification.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/env/env.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:siro_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/info.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/constant/style.dart';
|
||||
import 'package:tripz_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:tripz_driver/controller/firebase/firbase_messge.dart';
|
||||
import 'package:tripz_driver/controller/firebase/local_notification.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/env/env.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:image_cropper/image_cropper.dart';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'dart:io';
|
||||
import 'package:siro_driver/controller/functions/country_logic.dart';
|
||||
import 'package:tripz_driver/controller/functions/country_logic.dart';
|
||||
|
||||
void showInBrowser(String url) async {
|
||||
if (await canLaunchUrl(Uri.parse(url))) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/controller/functions/gemeni.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/controller/functions/gemeni.dart';
|
||||
|
||||
class LlamaAi {
|
||||
Future<Map> getCarRegistrationData(String input, prompt) async {
|
||||
|
||||
@@ -4,8 +4,8 @@ import 'package:device_info_plus/device_info_plus.dart';
|
||||
import 'package:get/get_core/src/get_main.dart';
|
||||
import 'package:get/get_navigation/src/extension_navigation.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:siro_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/widgets/mydialoug.dart';
|
||||
|
||||
import 'background_service.dart';
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'package:location/location.dart';
|
||||
import 'package:battery_plus/battery_plus.dart';
|
||||
import 'package:permission_handler/permission_handler.dart' as ph;
|
||||
import 'package:socket_io_client/socket_io_client.dart' as IO;
|
||||
import 'package:siro_driver/constant/table_names.dart';
|
||||
import 'package:tripz_driver/constant/table_names.dart';
|
||||
import 'package:trip_overlay_plugin/trip_overlay_plugin.dart';
|
||||
import '../../constant/country_polygons.dart';
|
||||
import '../../constant/box_name.dart';
|
||||
@@ -62,7 +62,8 @@ class LocationController extends GetxController with WidgetsBindingObserver {
|
||||
box.write(BoxName.isBusMode, enabled);
|
||||
box.write(BoxName.busModeTripId, enabled ? tripId : null);
|
||||
box.write(BoxName.busModeRouteId, enabled ? routeId : null);
|
||||
Log.print('🚌 Bus mode ${enabled ? "enabled" : "disabled"} (trip: $tripId, route: $routeId)');
|
||||
Log.print(
|
||||
'🚌 Bus mode ${enabled ? "enabled" : "disabled"} (trip: $tripId, route: $routeId)');
|
||||
}
|
||||
|
||||
StreamSubscription<LocationData>? _locSub;
|
||||
@@ -226,7 +227,8 @@ class LocationController extends GetxController with WidgetsBindingObserver {
|
||||
socket = null;
|
||||
}
|
||||
|
||||
print("🟡 [LocationController] Initializing NEW Socket for Driver: $driverId");
|
||||
print(
|
||||
"🟡 [LocationController] Initializing NEW Socket for Driver: $driverId");
|
||||
|
||||
try {
|
||||
// العودة للـ Websocket حصراً لأنه الوحيد الذي ينجح في فتح القناة
|
||||
@@ -460,7 +462,8 @@ class LocationController extends GetxController with WidgetsBindingObserver {
|
||||
void _startHeartbeat() {
|
||||
_socketHeartbeat?.cancel();
|
||||
_socketHeartbeat = Timer.periodic(const Duration(seconds: 25), (timer) {
|
||||
if (socket == null || !isSocketConnected || myLocation.latitude == 0) return;
|
||||
if (socket == null || !isSocketConnected || myLocation.latitude == 0)
|
||||
return;
|
||||
|
||||
if (isBusMode) {
|
||||
emitBusLocationToSocket(myLocation, heading, speed);
|
||||
@@ -512,7 +515,8 @@ class LocationController extends GetxController with WidgetsBindingObserver {
|
||||
}
|
||||
|
||||
// 🚌 مواصلاتي — بثّ موقع الباص (بديل عن update_location أثناء وضع الباص)
|
||||
void emitBusLocationToSocket(LatLng pos, double head, double spd, {int? currentStopSeq}) {
|
||||
void emitBusLocationToSocket(LatLng pos, double head, double spd,
|
||||
{int? currentStopSeq}) {
|
||||
if (activeBusTripId == null || activeBusRouteId == null) return;
|
||||
if (socket == null || !socket!.connected) return;
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import 'package:siro_driver/views/home/on_boarding_page.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/views/home/on_boarding_page.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/colors.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:siro_driver/views/widgets/my_textField.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/colors.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/views/widgets/my_textField.dart';
|
||||
|
||||
import '../../constant/style.dart';
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@ import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:siro_driver/constant/api_key.dart';
|
||||
import 'package:siro_driver/constant/colors.dart';
|
||||
import 'package:siro_driver/constant/info.dart';
|
||||
import 'package:siro_driver/constant/style.dart';
|
||||
import 'package:siro_driver/constant/table_names.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/print.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/constant/api_key.dart';
|
||||
import 'package:tripz_driver/constant/colors.dart';
|
||||
import 'package:tripz_driver/constant/info.dart';
|
||||
import 'package:tripz_driver/constant/style.dart';
|
||||
import 'package:tripz_driver/constant/table_names.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/print.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
|
||||
import '../../constant/box_name.dart';
|
||||
import '../../constant/links.dart';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import 'package:siro_driver/constant/currency.dart';
|
||||
import 'package:tripz_driver/constant/currency.dart';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/views/widgets/mydialoug.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_confetti/flutter_confetti.dart';
|
||||
import 'package:flutter_overlay_window/flutter_overlay_window.dart';
|
||||
|
||||
@@ -5,11 +5,11 @@ import 'dart:ui';
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:jailbreak_root_detection/jailbreak_root_detection.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/colors.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/controller/functions/encrypt_decrypt.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/colors.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/controller/functions/encrypt_decrypt.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -48,8 +48,8 @@ Future<String> getPackageInfo() async {
|
||||
|
||||
void showUpdateDialog(BuildContext context) {
|
||||
final String storeUrl = Platform.isAndroid
|
||||
? 'https://play.google.com/store/apps/details?id=com.siro_driver'
|
||||
: 'https://apps.apple.com/jo/app/siro-driver/id6482995159';
|
||||
? 'https://play.google.com/store/apps/details?id=com.tripz_driver'
|
||||
: 'https://apps.apple.com/jo/app/tripz-driver/id6482995159';
|
||||
|
||||
showGeneralDialog(
|
||||
context: context,
|
||||
|
||||
@@ -2,8 +2,8 @@ import 'dart:convert';
|
||||
|
||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:secure_string_operations/secure_string_operations.dart';
|
||||
import 'package:siro_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:siro_driver/controller/functions/encrypt_decrypt.dart';
|
||||
import 'package:tripz_driver/controller/auth/captin/login_captin_controller.dart';
|
||||
import 'package:tripz_driver/controller/functions/encrypt_decrypt.dart';
|
||||
|
||||
import '../../constant/box_name.dart';
|
||||
import '../../constant/char_map.dart';
|
||||
|
||||
@@ -7,7 +7,7 @@ import '../../main.dart';
|
||||
|
||||
class SecurityChecks {
|
||||
static const platform = MethodChannel(
|
||||
'com.siro.siro_driver/security'); // Choose a unique channel name
|
||||
'com.tripz.tripz_driver/security'); // Choose a unique channel name
|
||||
|
||||
static Future<bool> isDeviceCompromised() async {
|
||||
try {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:siro_driver/constant/api_key.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/constant/info.dart';
|
||||
import 'package:siro_driver/constant/links.dart';
|
||||
import 'package:siro_driver/controller/auth/syria/registration_controller.dart';
|
||||
import 'package:siro_driver/controller/functions/crud.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:siro_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:tripz_driver/constant/api_key.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/constant/info.dart';
|
||||
import 'package:tripz_driver/constant/links.dart';
|
||||
import 'package:tripz_driver/controller/auth/syria/registration_controller.dart';
|
||||
import 'package:tripz_driver/controller/functions/crud.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
import 'package:tripz_driver/views/widgets/elevated_btn.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ class SslPinning {
|
||||
SslPinning._();
|
||||
|
||||
static final Map<String, List<String>> _pins = {
|
||||
'intaleq.xyz': [
|
||||
'tripz.xyz': [
|
||||
'/tNRUeeLxUhQU5gbgdpVWC6QBGAqc/ujg8Kcf0wQiAM=',
|
||||
'Hlx/0EWNDH5Xkt2KzvqxUzbw0vvEsyZSlibialSyGqI=',
|
||||
],
|
||||
'siromove.com': [
|
||||
'tripzmove.com': [
|
||||
'C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHESsl=',
|
||||
'diGVwiVYbubAI3RW4hB9xU8e/CH2GnkuvVFZE8zmgzI=',
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/constant/colors.dart';
|
||||
import 'package:siro_driver/constant/style.dart';
|
||||
import 'package:tripz_driver/constant/colors.dart';
|
||||
import 'package:tripz_driver/constant/style.dart';
|
||||
|
||||
class Toast {
|
||||
static void show(BuildContext context, String message, Color color) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'dart:io';
|
||||
import 'package:flutter_tts/flutter_tts.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_driver/constant/box_name.dart';
|
||||
import 'package:siro_driver/main.dart';
|
||||
import 'package:tripz_driver/constant/box_name.dart';
|
||||
import 'package:tripz_driver/main.dart';
|
||||
|
||||
class TextToSpeechController extends GetxController {
|
||||
final FlutterTts flutterTts = FlutterTts();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:siro_driver/constant/api_key.dart';
|
||||
import 'package:siro_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:tripz_driver/constant/api_key.dart';
|
||||
import 'package:tripz_driver/views/widgets/error_snakbar.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:image_cropper/image_cropper.dart';
|
||||
|
||||