diff --git a/android/app/build.gradle b/android/app/build.gradle
index 88003cc..3784886 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -55,8 +55,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 23
targetSdkVersion 33
- versionCode 45
- versionName '1.5.45'
+ versionCode 46
+ versionName '1.5.46'
// manifestPlaceholders = [mapsApiKey: 'android/app/src/main/AndroidManifest.xml']
}
diff --git a/assets/images/blob.png b/assets/images/blob.png
deleted file mode 100644
index e45e42c..0000000
Binary files a/assets/images/blob.png and /dev/null differ
diff --git a/assets/images/carspeed.png b/assets/images/carspeed.png
deleted file mode 100644
index b8b2d37..0000000
Binary files a/assets/images/carspeed.png and /dev/null differ
diff --git a/assets/images/education.png b/assets/images/education.png
deleted file mode 100644
index fcadd1b..0000000
Binary files a/assets/images/education.png and /dev/null differ
diff --git a/assets/images/electric.png b/assets/images/electric.png
deleted file mode 100644
index 6cedd3b..0000000
Binary files a/assets/images/electric.png and /dev/null differ
diff --git a/assets/images/employmentType.png b/assets/images/employmentType.png
deleted file mode 100644
index 8fdcf14..0000000
Binary files a/assets/images/employmentType.png and /dev/null differ
diff --git a/assets/images/freeRide.png b/assets/images/freeRide.png
deleted file mode 100644
index 0667d42..0000000
Binary files a/assets/images/freeRide.png and /dev/null differ
diff --git a/assets/images/gender.png b/assets/images/gender.png
deleted file mode 100644
index 134dccb..0000000
Binary files a/assets/images/gender.png and /dev/null differ
diff --git a/assets/images/jeep.png b/assets/images/jeep.png
deleted file mode 100644
index 8f1cbf3..0000000
Binary files a/assets/images/jeep.png and /dev/null differ
diff --git a/assets/images/lady1.png b/assets/images/lady1.png
deleted file mode 100644
index c0e460c..0000000
Binary files a/assets/images/lady1.png and /dev/null differ
diff --git a/assets/images/maritalStatus.png b/assets/images/maritalStatus.png
deleted file mode 100644
index 121d555..0000000
Binary files a/assets/images/maritalStatus.png and /dev/null differ
diff --git a/assets/images/moto.png b/assets/images/moto.png
deleted file mode 100644
index 0cb9559..0000000
Binary files a/assets/images/moto.png and /dev/null differ
diff --git a/assets/images/moto1.png b/assets/images/moto1.png
deleted file mode 100644
index 51158a1..0000000
Binary files a/assets/images/moto1.png and /dev/null differ
diff --git a/assets/images/sedan.png b/assets/images/sedan.png
deleted file mode 100644
index c69e86d..0000000
Binary files a/assets/images/sedan.png and /dev/null differ
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index f5301e9..11ed38d 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -21,7 +21,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 43
+ 44
CFBundleSignature
????
CFBundleURLTypes
@@ -36,7 +36,7 @@
CFBundleVersion
- 4.0.43
+ 4.0.44
FirebaseAppDelegateProxyEnabled
NO
GMSApiKey
diff --git a/lib/controller/firebase/firbase_messge.dart b/lib/controller/firebase/firbase_messge.dart
index efd5ab2..ac74999 100644
--- a/lib/controller/firebase/firbase_messge.dart
+++ b/lib/controller/firebase/firbase_messge.dart
@@ -110,12 +110,13 @@ class FirebaseMessagesController extends GetxController {
'body': message.notification!.body
});
} else if (message.notification!.title == 'Cancel Trip'.tr) {
- NotificationController().showNotification(
- 'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
+ // NotificationController().showNotification(
+ // 'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
cancelTripDialog();
} else if (message.notification!.title! == 'token change'.tr) {
- NotificationController()
- .showNotification('token change'.tr, 'token change', 'cancel');
+ // NotificationController()
+ // .showNotification('token change'.tr, 'token change', 'cancel');
+ // GoogleSignInHelper.signOut();
GoogleSignInHelper.signOut();
} else if (message.notification!.title! == 'message From passenger'.tr) {
NotificationController()
diff --git a/lib/controller/functions/location_controller.dart b/lib/controller/functions/location_controller.dart
index 7532b48..3dcfa67 100644
--- a/lib/controller/functions/location_controller.dart
+++ b/lib/controller/functions/location_controller.dart
@@ -50,7 +50,7 @@ class LocationController extends GetxController {
totalPoints = Get.find().totalPoints;
isActive = Get.find().isActive;
if (isActive) {
- if (double.parse(totalPoints) > -300) {
+ if (double.parse(totalPoints) > -3000) {
await getLocation();
// if (box.read(BoxName.driverID) != null) {
diff --git a/lib/controller/home/captin/home_captain_controller.dart b/lib/controller/home/captin/home_captain_controller.dart
index d0ff749..34af9fc 100644
--- a/lib/controller/home/captin/home_captain_controller.dart
+++ b/lib/controller/home/captin/home_captain_controller.dart
@@ -75,7 +75,7 @@ class HomeCaptainController extends GetxController {
isActive = !isActive;
if (isActive) {
- if (double.parse(totalPoints) > -300) {
+ if (double.parse(totalPoints) > -3000) {
locationController.startLocationUpdates();
// locationBackController.startBackLocation();
activeStartTime = DateTime.now();
@@ -123,7 +123,7 @@ class HomeCaptainController extends GetxController {
await sql.getCustomQuery(customQuery);
countRefuse = results[0]['count'].toString();
update();
- if (int.parse(countRefuse) > 3 || double.parse(totalPoints) <= -300) {
+ if (int.parse(countRefuse) > 3 || double.parse(totalPoints) <= -3000) {
locationController.stopLocationUpdates();
activeStartTime = null;
activeTimer?.cancel();
diff --git a/lib/controller/home/captin/map_driver_controller.dart b/lib/controller/home/captin/map_driver_controller.dart
index 1ad17b5..3eef338 100644
--- a/lib/controller/home/captin/map_driver_controller.dart
+++ b/lib/controller/home/captin/map_driver_controller.dart
@@ -525,8 +525,7 @@ class MapDriverController extends GetxController {
}
double pointsSubtraction = 0;
- pointsSubtraction =
- double.parse(paymentAmount) * (-1) * double.parse(kazan);
+ pointsSubtraction = double.parse(paymentAmount) * (-1);
var paymentToken2 =
await generateTokenDriver((pointsSubtraction).toStringAsFixed(0));
var res = await CRUD().post(link: AppLink.addDriversWalletPoints, payload: {
@@ -554,7 +553,7 @@ class MapDriverController extends GetxController {
Get.to(() => RatePassenger(), arguments: {
'passengerId': passengerId,
'rideId': rideId,
- 'price': price.toString(),
+ 'price': paymentAmount.toString(), //price
'walletChecked': walletChecked
});
// Get.back();
diff --git a/lib/controller/home/captin/order_request_controller.dart b/lib/controller/home/captin/order_request_controller.dart
index ab74524..8957de6 100644
--- a/lib/controller/home/captin/order_request_controller.dart
+++ b/lib/controller/home/captin/order_request_controller.dart
@@ -58,6 +58,7 @@ class OrderRequestController extends GetxController {
List