This commit is contained in:
Hamza-Ayed
2024-07-21 09:05:56 +03:00
parent 3bfbe1793d
commit 9b9e5f29f5
9 changed files with 379 additions and 370 deletions

View File

@@ -55,8 +55,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 34 targetSdkVersion 34
versionCode 61 versionCode 63
versionName '1.5.61' versionName '1.5.63'
// manifestPlaceholders = [mapsApiKey: 'android/app/src/main/AndroidManifest.xml'] // manifestPlaceholders = [mapsApiKey: 'android/app/src/main/AndroidManifest.xml']
} }

View File

@@ -14,6 +14,7 @@ class AC {
var res = await CRUD().get(link: AppLink.getApiKey, payload: {}); var res = await CRUD().get(link: AppLink.getApiKey, payload: {});
var decod = jsonDecode(res); var decod = jsonDecode(res);
// print(decod); // print(decod);
Map<String, dynamic> jsonData = {}; Map<String, dynamic> jsonData = {};
for (var i = 0; i < decod['message'].length; i++) { for (var i = 0; i < decod['message'].length; i++) {
String h = decod['message'][i]['hashed_key'].toString(); String h = decod['message'][i]['hashed_key'].toString();

View File

@@ -43,13 +43,7 @@ class CarRegistrationRecognizerController extends GetxController {
// Crop the image // Crop the image
croppedFile = await ImageCropper().cropImage( croppedFile = await ImageCropper().cropImage(
sourcePath: image!.path, sourcePath: image!.path,
aspectRatioPresets: [ //
CropAspectRatioPreset.square,
CropAspectRatioPreset.ratio3x2,
CropAspectRatioPreset.original,
CropAspectRatioPreset.ratio4x3,
CropAspectRatioPreset.ratio16x9
],
uiSettings: [ uiSettings: [
AndroidUiSettings( AndroidUiSettings(
toolbarTitle: 'Cropper'.tr, toolbarTitle: 'Cropper'.tr,

View File

@@ -196,6 +196,9 @@ class CRUD {
'Authorization': 'Bearer ${AK.secretKeyStripe}', 'Authorization': 'Bearer ${AK.secretKeyStripe}',
}, },
); );
// Log.print('response: ${response.request}');
// Log.print('response: ${response.body}');
// Log.print('response: ${payload}');
if (response.statusCode == 200) { if (response.statusCode == 200) {
return response.body; return response.body;
} else {} } else {}

View File

@@ -407,13 +407,6 @@ class AI extends GetxController {
// Crop the image // Crop the image
croppedFile = await ImageCropper().cropImage( croppedFile = await ImageCropper().cropImage(
sourcePath: image!.path, sourcePath: image!.path,
aspectRatioPresets: [
CropAspectRatioPreset.square,
CropAspectRatioPreset.ratio3x2,
CropAspectRatioPreset.original,
CropAspectRatioPreset.ratio4x3,
CropAspectRatioPreset.ratio16x9
],
uiSettings: [ uiSettings: [
AndroidUiSettings( AndroidUiSettings(
toolbarTitle: 'Cropper'.tr, toolbarTitle: 'Cropper'.tr,

View File

@@ -112,13 +112,6 @@ class ImageController extends GetxController {
croppedFile = await ImageCropper().cropImage( croppedFile = await ImageCropper().cropImage(
sourcePath: image!.path, sourcePath: image!.path,
aspectRatioPresets: [
CropAspectRatioPreset.square,
CropAspectRatioPreset.ratio3x2,
CropAspectRatioPreset.original,
CropAspectRatioPreset.ratio4x3,
CropAspectRatioPreset.ratio16x9
],
uiSettings: [ uiSettings: [
AndroidUiSettings( AndroidUiSettings(
toolbarTitle: 'Cropper'.tr, toolbarTitle: 'Cropper'.tr,
@@ -291,13 +284,6 @@ class ImageController extends GetxController {
croppedFile = await ImageCropper().cropImage( croppedFile = await ImageCropper().cropImage(
sourcePath: image!.path, sourcePath: image!.path,
aspectRatioPresets: [
CropAspectRatioPreset.square,
CropAspectRatioPreset.ratio3x2,
CropAspectRatioPreset.original,
CropAspectRatioPreset.ratio4x3,
CropAspectRatioPreset.ratio16x9
],
uiSettings: [ uiSettings: [
AndroidUiSettings( AndroidUiSettings(
toolbarTitle: 'Cropper'.tr, toolbarTitle: 'Cropper'.tr,

View File

@@ -63,7 +63,7 @@ void main() async {
await GetStorage.init(); await GetStorage.init();
await AC().gAK(); // await AC().gAK();
Stripe.publishableKey = AK.publishableKeyStripe; Stripe.publishableKey = AK.publishableKeyStripe;

File diff suppressed because it is too large Load Diff

View File

@@ -13,25 +13,25 @@ dependencies:
secure_string_operations: secure_string_operations:
path: ./secure_string_operations path: ./secure_string_operations
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
firebase_messaging: ^14.6.7 firebase_messaging: ^15.0.3
firebase_core: ^2.15.0 firebase_core: ^3.2.0
flutter_local_notifications: ^16.2.0 flutter_local_notifications: ^17.2.1+2
google_maps_flutter: ^2.5.0 google_maps_flutter: ^2.5.0
sqflite: ^2.3.0 sqflite: ^2.3.0
path: ^1.8.3 path: ^1.8.3
# lottie: ^2.5.0 # lottie: ^2.5.0
intl: ^0.18.1 intl: ^0.19.0
google_fonts: ^ 4.0.4 google_fonts: ^6.2.1
http: ^0.13.6 http: ^1.2.2
get: ^4.6.5 get: ^4.6.5
get_storage: ^2.1.1 get_storage: ^2.1.1
url_launcher: ^6.1.12 url_launcher: ^6.1.12
location: ^5.0.2+1 location: ^7.0.0
google_polyline_algorithm: ^3.1.0 google_polyline_algorithm: ^3.1.0
# custom_searchable_dropdown: ^2.1.1 # custom_searchable_dropdown: ^2.1.1
animated_text_kit: ^4.2.2 animated_text_kit: ^4.2.2
flutter_secure_storage: ^9.0.0 flutter_secure_storage: ^9.0.0
geolocator: ^10.0.0 geolocator: ^12.0.0
flutter_paypal: ^0.2.0 flutter_paypal: ^0.2.0
flutter_launcher_icons: ^0.13.1 #to be remove flutter_launcher_icons: ^0.13.1 #to be remove
# crypto: ^3.0.3 # crypto: ^3.0.3
@@ -40,18 +40,18 @@ dependencies:
flutter_font_icons: ^2.2.5 flutter_font_icons: ^2.2.5
# device_info_plus: ^9.1.0 # device_info_plus: ^9.1.0
image_picker: ^1.0.4 image_picker: ^1.0.4
flutter_stripe: ^9.5.0+1 flutter_stripe: ^10.2.0
camera: ^0.10.5+5 #to be remove camera: ^0.11.0+1 #to be remove
flutter_widget_from_html: ^0.14.6 flutter_widget_from_html: ^0.15.1
local_auth: ^2.1.7 local_auth: ^2.1.7
image: ^4.1.3 #to be remove image: ^4.1.3 #to be remove
image_cropper: ^4.0.1 image_cropper: ^7.1.0
envied: ^0.5.2 envied: ^0.5.2
# cached_network_image: ^3.3.0 #to be remove # cached_network_image: ^3.3.0 #to be remove
calendar_builder: ^0.0.6 calendar_builder: ^0.0.6
fl_chart: ^0.66.0 fl_chart: ^0.68.0
# agora_rtc_engine: ^6.2.6 # agora_rtc_engine: ^6.2.6
flutter_tts: ^3.8.5 flutter_tts: ^4.0.2
permission_handler: ^11.3.0 permission_handler: ^11.3.0
# google_generative_ai: ^0.0.1-dev # google_generative_ai: ^0.0.1-dev
vibration: ^1.8.4 vibration: ^1.8.4
@@ -65,7 +65,7 @@ dependencies:
google_sign_in: ^6.2.1 google_sign_in: ^6.2.1
google_mlkit_text_recognition: ^0.13.0 google_mlkit_text_recognition: ^0.13.0
sign_in_with_apple: ^6.1.0 sign_in_with_apple: ^6.1.0
firebase_auth: ^4.19.6 firebase_auth: ^5.1.2
package_info_plus: ^8.0.0 package_info_plus: ^8.0.0
flutter_image_compress: ^2.3.0 flutter_image_compress: ^2.3.0
# google_mlkit_face_detection: ^0.11.0 # google_mlkit_face_detection: ^0.11.0
@@ -73,7 +73,7 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^3.0.1 flutter_lints: ^4.0.0
envied_generator: ^0.5.2 envied_generator: ^0.5.2
build_runner: build_runner: