25-10-11/1
This commit is contained in:
@@ -28,14 +28,14 @@
|
|||||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||||
<uses-permission android:name="android.permission.QUICKBOOT_POWERON" />
|
<uses-permission android:name="android.permission.QUICKBOOT_POWERON" />
|
||||||
<uses-permission android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
|
<uses-permission android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
|
||||||
|
<uses-permission android:name="android.permission.PICTURE_IN_PICTURE" />
|
||||||
<uses-feature android:name="android.hardware.camera" />
|
<uses-feature android:name="android.hardware.camera" />
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" />
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/launcher_icon"
|
android:icon="@mipmap/launcher_icon"
|
||||||
android:label="Intaleq Driver"
|
android:label="@string/label"
|
||||||
android:enableOnBackInvokedCallback="true"
|
android:enableOnBackInvokedCallback="true"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:fullBackupContent="false"
|
android:fullBackupContent="false"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="security_warning_title">تحذير أمني</string>
|
<string name="security_warning_title">تحذير أمني</string>
|
||||||
<string name="security_warning_message">تم اكتشاف مشكلة أمنية أو تعديل على هذا الجهاز. لا يمكن تشغيل التطبيق على هذا الجهاز.</string>
|
<string name="security_warning_message">تم اكتشاف مشكلة أمنية أو تعديل على هذا الجهاز. لا يمكن
|
||||||
|
تشغيل التطبيق على هذا الجهاز.</string>
|
||||||
<string name="exit_button">إغلاق التطبيق</string>
|
<string name="exit_button">إغلاق التطبيق</string>
|
||||||
<string name="device_secure">الجهاز آمن. الاستمرار بشكل طبيعي.</string>
|
<string name="device_secure">الجهاز آمن. الاستمرار بشكل طبيعي.</string>
|
||||||
|
<string name="label">انطلق درايفر</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
<string name="api_key">AIzaSyACAeqD8qnNYwHKj1qRec6F3AKzdo__CiQ</string>
|
<string name="api_key">AIzaSyACAeqD8qnNYwHKj1qRec6F3AKzdo__CiQ</string>
|
||||||
<string name="security_warning_title">Security Warning</string>
|
<string name="security_warning_title">Security Warning</string>
|
||||||
<string name="api_key_safety">AIzaSyB04YNW3LbvmQ5lX1t2bOwEU18-KUoovzw</string>
|
<string name="api_key_safety">AIzaSyB04YNW3LbvmQ5lX1t2bOwEU18-KUoovzw</string>
|
||||||
|
<string name="label">Intaleq Driver</string>
|
||||||
|
|
||||||
<string name="security_warning_message">A security issue or modification has been detected on
|
<string name="security_warning_message">A security issue or modification has been detected on
|
||||||
this device. The app cannot run on this device.</string>
|
this device. The app cannot run on this device.</string>
|
||||||
|
|||||||
BIN
assets/images/logo1.png
Executable file → Normal file
BIN
assets/images/logo1.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 715 KiB After Width: | Height: | Size: 149 KiB |
@@ -21,7 +21,7 @@ class Bubble {
|
|||||||
/// puts app in background and shows floaty-bubble head
|
/// puts app in background and shows floaty-bubble head
|
||||||
Future<void> startBubbleHead({bool sendAppToBackground = true}) async {
|
Future<void> startBubbleHead({bool sendAppToBackground = true}) async {
|
||||||
ByteData bytes = await rootBundle.load(
|
ByteData bytes = await rootBundle.load(
|
||||||
'assets/images/logo.png',
|
'assets/images/logo1.png',
|
||||||
);
|
);
|
||||||
var buffer = bytes.buffer;
|
var buffer = bytes.buffer;
|
||||||
var encodedImage = base64.encode(Uint8List.view(buffer));
|
var encodedImage = base64.encode(Uint8List.view(buffer));
|
||||||
|
|||||||
@@ -191,9 +191,9 @@ class CRUD {
|
|||||||
'Bearer ${r(box.read(BoxName.jwt)).toString().split(Env.addd)[0]}'
|
'Bearer ${r(box.read(BoxName.jwt)).toString().split(Env.addd)[0]}'
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
// Log.print('response: ${response.body}');
|
Log.print('response: ${response.body}');
|
||||||
// Log.print('req: ${response.request}');
|
Log.print('req: ${response.request}');
|
||||||
// Log.print('payload: ${payload}');
|
Log.print('payload: ${payload}');
|
||||||
|
|
||||||
if (response.statusCode == 200) {
|
if (response.statusCode == 200) {
|
||||||
var jsonData = jsonDecode(response.body);
|
var jsonData = jsonDecode(response.body);
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import '../../../constant/colors.dart';
|
|||||||
import '../../functions/launch.dart';
|
import '../../functions/launch.dart';
|
||||||
|
|
||||||
class ContactUsController extends GetxController {
|
class ContactUsController extends GetxController {
|
||||||
final String phone1 = '+201018805430';
|
final String phone1 = '+963992952235';
|
||||||
final String phone2 = '+201080182934';
|
final String phone2 = '+963992952235';
|
||||||
final TimeOfDay workStartTime = const TimeOfDay(hour: 12, minute: 0);
|
final TimeOfDay workStartTime = const TimeOfDay(hour: 12, minute: 0);
|
||||||
final TimeOfDay workEndTime = const TimeOfDay(hour: 19, minute: 0);
|
final TimeOfDay workEndTime = const TimeOfDay(hour: 19, minute: 0);
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ class ContactUsController extends GetxController {
|
|||||||
if (!_isWithinWorkTime(now))
|
if (!_isWithinWorkTime(now))
|
||||||
CupertinoActionSheetAction(
|
CupertinoActionSheetAction(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Work time is from 12:00 - 19:00.\nYou can send a WhatsApp message or email.'
|
'Work time is from 10:00 - 17:00.\nYou can send a WhatsApp message or email.'
|
||||||
.tr),
|
.tr),
|
||||||
onPressed: () => Navigator.pop(context),
|
onPressed: () => Navigator.pop(context),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -803,10 +803,10 @@ Raih Gai: For same-day return trips longer than 50km.
|
|||||||
"لم نجد أي سائقين بعد. ضع في اعتبارك زيادة رسوم رحلتك لجعل عرضك أكثر جاذبية للسائقين.",
|
"لم نجد أي سائقين بعد. ضع في اعتبارك زيادة رسوم رحلتك لجعل عرضك أكثر جاذبية للسائقين.",
|
||||||
"Allow Location Access": "السماح بالوصول إلى الموقع",
|
"Allow Location Access": "السماح بالوصول إلى الموقع",
|
||||||
"Show My Trip Count": "عرض عدد رحلاتي",
|
"Show My Trip Count": "عرض عدد رحلاتي",
|
||||||
"Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 15%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.":
|
"Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 8%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.":
|
||||||
"انطلق هو التطبيق الأكثر أمانًا لمشاركة الركوب الذي يقدم العديد من الميزات لكل من السائقين والركاب. نحن نقدم أقل عمولة بنسبة 15% فقط، مما يضمن حصولك على أفضل قيمة لرحلاتك. يتضمن تطبيقنا التأمين لأفضل السائقين، الصيانة المنتظمة للسيارات مع أفضل المهندسين، والخدمات على الطريق لضمان تجربة محترمة وعالية الجودة لجميع المستخدمين.",
|
"انطلق هو التطبيق الأكثر أمانًا لمشاركة الركوب الذي يقدم العديد من الميزات لكل من السائقين والركاب. نحن نقدم أقل عمولة بنسبة 8% فقط، مما يضمن حصولك على أفضل قيمة لرحلاتك. يتضمن تطبيقنا التأمين لأفضل السائقين، الصيانة المنتظمة للسيارات مع أفضل المهندسين، والخدمات على الطريق لضمان تجربة محترمة وعالية الجودة لجميع المستخدمين.",
|
||||||
"You can contact us during working hours from 12:00 - 19:00.":
|
"You can contact us during working hours from 10:00 - 17:00.":
|
||||||
"يمكنك الاتصال بنا خلال ساعات العمل من 12:00 - 7:00.",
|
"يمكنك الاتصال بنا خلال ساعات العمل من 10:00 - 17:00.",
|
||||||
"Show maintenance center near my location":
|
"Show maintenance center near my location":
|
||||||
"أظهر مركز الصيانة بالقرب من موقعي",
|
"أظهر مركز الصيانة بالقرب من موقعي",
|
||||||
"How do I request a ride?": "كيف أطلب رحلة؟",
|
"How do I request a ride?": "كيف أطلب رحلة؟",
|
||||||
@@ -866,8 +866,8 @@ Raih Gai: For same-day return trips longer than 50km.
|
|||||||
"You can change the vibration feedback for all buttons":
|
"You can change the vibration feedback for all buttons":
|
||||||
"يمكنك تغيير اهتزاز الرج لجميع الأزرار",
|
"يمكنك تغيير اهتزاز الرج لجميع الأزرار",
|
||||||
"About Us": "نبذة عنا",
|
"About Us": "نبذة عنا",
|
||||||
"Work time is from 12:00 - 19:00.\nYou can send a WhatsApp message or email.":
|
"Work time is from 10:00 - 17:00.\nYou can send a WhatsApp message or email.":
|
||||||
"ساعات العمل من 12:00 - 19:00.\nيمكنك إرسال رسالة عبر واتساب أو بريد إلكتروني.",
|
"ساعات العمل من 10:00 - 17:00.\nيمكنك إرسال رسالة عبر واتساب أو بريد إلكتروني.",
|
||||||
"Most Secure Methods": "أساليب الأمان الأكثر فاعلية",
|
"Most Secure Methods": "أساليب الأمان الأكثر فاعلية",
|
||||||
"In-App VOIP Calls": "مكالمات VOIP داخل التطبيق",
|
"In-App VOIP Calls": "مكالمات VOIP داخل التطبيق",
|
||||||
"Recorded Trips for Safety": "تسجيل الرحلات من أجل السلامة",
|
"Recorded Trips for Safety": "تسجيل الرحلات من أجل السلامة",
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ void notificationTapBackground(NotificationResponse notificationResponse) {
|
|||||||
void overlayMain() async {
|
void overlayMain() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
await GetStorage.init();
|
await GetStorage.init();
|
||||||
await initFirebaseIfNeeded();
|
// await initFirebaseIfNeeded();
|
||||||
|
|
||||||
if (!Get.isRegistered<NotificationController>()) {
|
if (!Get.isRegistered<NotificationController>()) {
|
||||||
Get.put(NotificationController());
|
Get.put(NotificationController());
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class ContactUsPage extends StatelessWidget {
|
|||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
Get.put(TextToSpeechController()).speakText(
|
Get.put(TextToSpeechController()).speakText(
|
||||||
'Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 15%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.'
|
'Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 8%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.'
|
||||||
.tr);
|
.tr);
|
||||||
},
|
},
|
||||||
icon: const Icon(Icons.headphones),
|
icon: const Icon(Icons.headphones),
|
||||||
@@ -43,7 +43,7 @@ class ContactUsPage extends StatelessWidget {
|
|||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 15%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.'
|
'Intaleq is the safest ride-sharing app that introduces many features for both captains and passengers. We offer the lowest commission rate of just 8%, ensuring you get the best value for your rides. Our app includes insurance for the best captains, regular maintenance of cars with top engineers, and on-road services to ensure a respectful and high-quality experience for all users.'
|
||||||
.tr,
|
.tr,
|
||||||
style: AppStyle.title,
|
style: AppStyle.title,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
@@ -60,7 +60,7 @@ class ContactUsPage extends StatelessWidget {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
"You can contact us during working hours from 12:00 - 19:00."
|
"You can contact us during working hours from 10:00 - 17:00."
|
||||||
.tr,
|
.tr,
|
||||||
style: AppStyle.title,
|
style: AppStyle.title,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
|
|||||||
@@ -498,7 +498,7 @@ class FloatingActionButtons extends StatelessWidget {
|
|||||||
Bubble().startBubbleHead(sendAppToBackground: true);
|
Bubble().startBubbleHead(sendAppToBackground: true);
|
||||||
},
|
},
|
||||||
icon: Image.asset(
|
icon: Image.asset(
|
||||||
'assets/images/logo.png',
|
'assets/images/logo1.png',
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
width: 35,
|
width: 35,
|
||||||
height: 35,
|
height: 35,
|
||||||
|
|||||||
@@ -17,17 +17,17 @@ class CarsInsertingPage extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
Get.put(AI());
|
Get.put(AI());
|
||||||
return MyScafolld(
|
return MyScafolld(
|
||||||
title: 'Insert New Car'.tr,
|
title: "Add new car".tr,
|
||||||
body: [
|
body: [
|
||||||
Container(
|
Container(
|
||||||
color: AppColor.accentColor.withOpacity(.2),
|
color: AppColor.accentColor.withOpacity(.2),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(22),
|
||||||
child: ListView(
|
child: ListView(
|
||||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
egyptCarLicenceFront(),
|
syriaCarLicenceFront(),
|
||||||
egyptCarLicenceBack(),
|
syriaCarLicenceBack(),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Text('Please make sure to read the license carefully.'.tr),
|
Text('Please make sure to read the license carefully.'.tr),
|
||||||
Text(
|
Text(
|
||||||
@@ -66,7 +66,7 @@ class CarsInsertingPage extends StatelessWidget {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GetBuilder<AI> egyptCarLicenceFront() {
|
GetBuilder<AI> syriaCarLicenceFront() {
|
||||||
return GetBuilder<AI>(
|
return GetBuilder<AI>(
|
||||||
builder: (ai) {
|
builder: (ai) {
|
||||||
if (ai.responseIdCardDriverEgyptFront.isNotEmpty) {
|
if (ai.responseIdCardDriverEgyptFront.isNotEmpty) {
|
||||||
@@ -162,7 +162,7 @@ GetBuilder<AI> egyptCarLicenceFront() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetBuilder<AI> egyptCarLicenceBack() {
|
GetBuilder<AI> syriaCarLicenceBack() {
|
||||||
return GetBuilder<AI>(
|
return GetBuilder<AI>(
|
||||||
builder: (ai) {
|
builder: (ai) {
|
||||||
if (ai.responseIdCardDriverEgyptBack.isNotEmpty) {
|
if (ai.responseIdCardDriverEgyptBack.isNotEmpty) {
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ dependencies:
|
|||||||
battery_plus: ^6.2.2
|
battery_plus: ^6.2.2
|
||||||
internet_connection_checker: ^3.0.1
|
internet_connection_checker: ^3.0.1
|
||||||
connectivity_plus: ^6.1.5
|
connectivity_plus: ^6.1.5
|
||||||
|
# pip_view: ^0.9.7
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in New Issue
Block a user