This commit is contained in:
Hamza Aleghwairyeen
2024-04-07 05:10:31 +03:00
parent 6276c82c1c
commit 5d9538f744
3 changed files with 87 additions and 66 deletions

View File

@@ -1,43 +1,45 @@
PODS: PODS:
- agora_rtc_engine (6.2.6): - agora_rtc_engine (6.3.0):
- AgoraIrisRTC_iOS (= 4.2.6-build.3) - AgoraIrisRTC_iOS (= 4.3.0-build.2)
- AgoraRtcEngine_iOS (= 4.2.6) - AgoraRtcEngine_iOS (= 4.3.0)
- Flutter - Flutter
- AgoraIrisRTC_iOS (4.2.6-build.3) - AgoraIrisRTC_iOS (4.3.0-build.2)
- AgoraRtcEngine_iOS (4.2.6): - AgoraRtcEngine_iOS (4.3.0):
- AgoraRtcEngine_iOS/AIAEC (= 4.2.6) - AgoraRtcEngine_iOS/AIAEC (= 4.3.0)
- AgoraRtcEngine_iOS/AINS (= 4.2.6) - AgoraRtcEngine_iOS/AINS (= 4.3.0)
- AgoraRtcEngine_iOS/AudioBeauty (= 4.2.6) - AgoraRtcEngine_iOS/AudioBeauty (= 4.3.0)
- AgoraRtcEngine_iOS/ClearVision (= 4.2.6) - AgoraRtcEngine_iOS/ClearVision (= 4.3.0)
- AgoraRtcEngine_iOS/ContentInspect (= 4.2.6) - AgoraRtcEngine_iOS/ContentInspect (= 4.3.0)
- AgoraRtcEngine_iOS/DRM (= 4.2.6) - AgoraRtcEngine_iOS/FaceCapture (= 4.3.0)
- AgoraRtcEngine_iOS/FaceDetection (= 4.2.6) - AgoraRtcEngine_iOS/FaceDetection (= 4.3.0)
- AgoraRtcEngine_iOS/ReplayKit (= 4.2.6) - AgoraRtcEngine_iOS/ReplayKit (= 4.3.0)
- AgoraRtcEngine_iOS/RtcBasic (= 4.2.6) - AgoraRtcEngine_iOS/RtcBasic (= 4.3.0)
- AgoraRtcEngine_iOS/SpatialAudio (= 4.2.6) - AgoraRtcEngine_iOS/SpatialAudio (= 4.3.0)
- AgoraRtcEngine_iOS/VideoCodecDec (= 4.2.6) - AgoraRtcEngine_iOS/VideoAv1CodecDec (= 4.3.0)
- AgoraRtcEngine_iOS/VideoCodecEnc (= 4.2.6) - AgoraRtcEngine_iOS/VideoCodecDec (= 4.3.0)
- AgoraRtcEngine_iOS/VirtualBackground (= 4.2.6) - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.3.0)
- AgoraRtcEngine_iOS/VQA (= 4.2.6) - AgoraRtcEngine_iOS/VirtualBackground (= 4.3.0)
- AgoraRtcEngine_iOS/AIAEC (4.2.6) - AgoraRtcEngine_iOS/VQA (= 4.3.0)
- AgoraRtcEngine_iOS/AINS (4.2.6) - AgoraRtcEngine_iOS/AIAEC (4.3.0)
- AgoraRtcEngine_iOS/AudioBeauty (4.2.6) - AgoraRtcEngine_iOS/AINS (4.3.0)
- AgoraRtcEngine_iOS/ClearVision (4.2.6) - AgoraRtcEngine_iOS/AudioBeauty (4.3.0)
- AgoraRtcEngine_iOS/ContentInspect (4.2.6) - AgoraRtcEngine_iOS/ClearVision (4.3.0)
- AgoraRtcEngine_iOS/DRM (4.2.6) - AgoraRtcEngine_iOS/ContentInspect (4.3.0)
- AgoraRtcEngine_iOS/FaceDetection (4.2.6) - AgoraRtcEngine_iOS/FaceCapture (4.3.0)
- AgoraRtcEngine_iOS/ReplayKit (4.2.6) - AgoraRtcEngine_iOS/FaceDetection (4.3.0)
- AgoraRtcEngine_iOS/RtcBasic (4.2.6) - AgoraRtcEngine_iOS/ReplayKit (4.3.0)
- AgoraRtcEngine_iOS/SpatialAudio (4.2.6) - AgoraRtcEngine_iOS/RtcBasic (4.3.0)
- AgoraRtcEngine_iOS/VideoCodecDec (4.2.6) - AgoraRtcEngine_iOS/SpatialAudio (4.3.0)
- AgoraRtcEngine_iOS/VideoCodecEnc (4.2.6) - AgoraRtcEngine_iOS/VideoAv1CodecDec (4.3.0)
- AgoraRtcEngine_iOS/VirtualBackground (4.2.6) - AgoraRtcEngine_iOS/VideoCodecDec (4.3.0)
- AgoraRtcEngine_iOS/VQA (4.2.6) - AgoraRtcEngine_iOS/VideoCodecEnc (4.3.0)
- AppAuth (1.6.2): - AgoraRtcEngine_iOS/VirtualBackground (4.3.0)
- AppAuth/Core (= 1.6.2) - AgoraRtcEngine_iOS/VQA (4.3.0)
- AppAuth/ExternalUserAgent (= 1.6.2) - AppAuth (1.7.3):
- AppAuth/Core (1.6.2) - AppAuth/Core (= 1.7.3)
- AppAuth/ExternalUserAgent (1.6.2): - AppAuth/ExternalUserAgent (= 1.7.3)
- AppAuth/Core (1.7.3)
- AppAuth/ExternalUserAgent (1.7.3):
- AppAuth/Core - AppAuth/Core
- audio_session (0.0.1): - audio_session (0.0.1):
- Flutter - Flutter
@@ -63,9 +65,9 @@ PODS:
- FirebaseCoreInternal (~> 10.0) - FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Environment (~> 7.12)
- GoogleUtilities/Logger (~> 7.12) - GoogleUtilities/Logger (~> 7.12)
- FirebaseCoreInternal (10.19.0): - FirebaseCoreInternal (10.23.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)" - "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseInstallations (10.19.0): - FirebaseInstallations (10.23.0):
- FirebaseCore (~> 10.0) - FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8)
@@ -84,11 +86,15 @@ PODS:
- Flutter - Flutter
- flutter_secure_storage (6.0.0): - flutter_secure_storage (6.0.0):
- Flutter - Flutter
- flutter_sound (9.2.13):
- Flutter
- flutter_sound_core (= 9.2.13)
- flutter_sound_core (9.2.13)
- flutter_tts (0.0.1): - flutter_tts (0.0.1):
- Flutter - Flutter
- FMDB (2.7.5): - FMDB (2.7.9):
- FMDB/standard (= 2.7.5) - FMDB/standard (= 2.7.9)
- FMDB/standard (2.7.5) - FMDB/standard (2.7.9)
- geolocator_apple (1.2.0): - geolocator_apple (1.2.0):
- Flutter - Flutter
- google_maps_flutter_ios (0.0.1): - google_maps_flutter_ios (0.0.1):
@@ -104,9 +110,9 @@ PODS:
- google_sign_in_ios (0.0.1): - google_sign_in_ios (0.0.1):
- Flutter - Flutter
- GoogleSignIn (~> 6.2) - GoogleSignIn (~> 6.2)
- GoogleDataTransport (9.3.0): - GoogleDataTransport (9.4.1):
- GoogleUtilities/Environment (~> 7.7) - GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0) - nanopb (< 2.30911.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2) - PromisesObjC (< 3.0, >= 1.2)
- GoogleMaps (7.4.0): - GoogleMaps (7.4.0):
- GoogleMaps/Maps (= 7.4.0) - GoogleMaps/Maps (= 7.4.0)
@@ -134,23 +140,31 @@ PODS:
- GoogleToolboxForMac/Defines (= 2.3.2) - GoogleToolboxForMac/Defines (= 2.3.2)
- "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)" - "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)"
- "GoogleToolboxForMac/NSString+URLArguments (2.3.2)" - "GoogleToolboxForMac/NSString+URLArguments (2.3.2)"
- GoogleUtilities/AppDelegateSwizzler (7.12.0): - GoogleUtilities/AppDelegateSwizzler (7.13.0):
- GoogleUtilities/Environment - GoogleUtilities/Environment
- GoogleUtilities/Logger - GoogleUtilities/Logger
- GoogleUtilities/Network - GoogleUtilities/Network
- GoogleUtilities/Environment (7.12.0): - GoogleUtilities/Privacy
- GoogleUtilities/Environment (7.13.0):
- GoogleUtilities/Privacy
- PromisesObjC (< 3.0, >= 1.2) - PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.12.0): - GoogleUtilities/Logger (7.13.0):
- GoogleUtilities/Environment - GoogleUtilities/Environment
- GoogleUtilities/Network (7.12.0): - GoogleUtilities/Privacy
- GoogleUtilities/Network (7.13.0):
- GoogleUtilities/Logger - GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib" - "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Privacy
- GoogleUtilities/Reachability - GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.12.0)" - "GoogleUtilities/NSData+zlib (7.13.0)":
- GoogleUtilities/Reachability (7.12.0): - GoogleUtilities/Privacy
- GoogleUtilities/Privacy (7.13.0)
- GoogleUtilities/Reachability (7.13.0):
- GoogleUtilities/Logger - GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.12.0): - GoogleUtilities/Privacy
- GoogleUtilities/UserDefaults (7.13.0):
- GoogleUtilities/Logger - GoogleUtilities/Logger
- GoogleUtilities/Privacy
- GoogleUtilitiesComponents (1.1.0): - GoogleUtilitiesComponents (1.1.0):
- GoogleUtilities/Logger - GoogleUtilities/Logger
- GTMAppAuth (1.3.1): - GTMAppAuth (1.3.1):
@@ -204,7 +218,7 @@ PODS:
- FlutterMacOS - FlutterMacOS
- permission_handler_apple (9.3.0): - permission_handler_apple (9.3.0):
- Flutter - Flutter
- PromisesObjC (2.3.1) - PromisesObjC (2.4.0)
- sqflite (0.0.3): - sqflite (0.0.3):
- Flutter - Flutter
- FMDB (>= 2.7.5) - FMDB (>= 2.7.5)
@@ -268,6 +282,7 @@ DEPENDENCIES:
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`) - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)
- flutter_tts (from `.symlinks/plugins/flutter_tts/ios`) - flutter_tts (from `.symlinks/plugins/flutter_tts/ios`)
- geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`) - geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`)
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) - google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
@@ -301,6 +316,7 @@ SPEC REPOS:
- FirebaseCoreInternal - FirebaseCoreInternal
- FirebaseInstallations - FirebaseInstallations
- FirebaseMessaging - FirebaseMessaging
- flutter_sound_core
- FMDB - FMDB
- GoogleDataTransport - GoogleDataTransport
- GoogleMaps - GoogleMaps
@@ -349,6 +365,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_local_notifications/ios" :path: ".symlinks/plugins/flutter_local_notifications/ios"
flutter_secure_storage: flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios" :path: ".symlinks/plugins/flutter_secure_storage/ios"
flutter_sound:
:path: ".symlinks/plugins/flutter_sound/ios"
flutter_tts: flutter_tts:
:path: ".symlinks/plugins/flutter_tts/ios" :path: ".symlinks/plugins/flutter_tts/ios"
geolocator_apple: geolocator_apple:
@@ -395,10 +413,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios" :path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
SPEC CHECKSUMS: SPEC CHECKSUMS:
agora_rtc_engine: 5b2a7c221e1f3dfb8dee0fb0659f269be24fa81b agora_rtc_engine: f737aeb9ac7fdfcfda875d0d0125eedaa09602f9
AgoraIrisRTC_iOS: 8346499b82968a4967e3d0bec2cf14bf7c0c3f76 AgoraIrisRTC_iOS: 2caf892fa827777fe43b6ac7d12e9b42579eb865
AgoraRtcEngine_iOS: ac647332ad8f86d79cf810601c9e62b28c3a4de0 AgoraRtcEngine_iOS: 267c0980c1fb97e056d05b850f8629b05b6e467a
AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570 AppAuth: a13994980c1ec792f7e2e665acd4d4aa6be43240
audio_session: 4f3e461722055d21515cf3261b64c973c062f345 audio_session: 4f3e461722055d21515cf3261b64c973c062f345
background_location: 1b80c1fe3abd9912bca298618f6e365abf6f588f background_location: 1b80c1fe3abd9912bca298618f6e365abf6f588f
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
@@ -407,25 +425,27 @@ SPEC CHECKSUMS:
firebase_core: 0af4a2b24f62071f9bf283691c0ee41556dcb3f5 firebase_core: 0af4a2b24f62071f9bf283691c0ee41556dcb3f5
firebase_messaging: 875385354f623750aa03204a028d640108bc3412 firebase_messaging: 875385354f623750aa03204a028d640108bc3412
FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f
FirebaseCoreInternal: b444828ea7cfd594fca83046b95db98a2be4f290 FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3
FirebaseInstallations: 033d199474164db20c8350736842a94fe717b960 FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35
FirebaseMessaging: 9bc34a98d2e0237e1b121915120d4d48ddcf301e FirebaseMessaging: 9bc34a98d2e0237e1b121915120d4d48ddcf301e
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743 flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
flutter_sound: c60effa2a350fb977885f0db2fbc4c1ad5160900
flutter_sound_core: 26c10e5832e76aaacfae252d8925232281c486ae
flutter_tts: 0f492aab6accf87059b72354fcb4ba934304771d flutter_tts: 0f492aab6accf87059b72354fcb4ba934304771d
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a FMDB: aa44149f6fb634b1ac54f64f47064bb0d0c5a032
geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401 geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
google_maps_flutter_ios: 590249c67f34f422122c232f2a626192adbc78ee google_maps_flutter_ios: 590249c67f34f422122c232f2a626192adbc78ee
google_mlkit_commons: 3857c1e9f23ca02073f8dd34a7a3580feb814cef google_mlkit_commons: 3857c1e9f23ca02073f8dd34a7a3580feb814cef
google_mlkit_text_recognition: 9225b4bf1b176dd18b05c9594e5347834e793440 google_mlkit_text_recognition: 9225b4bf1b176dd18b05c9594e5347834e793440
google_sign_in_ios: 1256ff9d941db546373826966720b0c24804bcdd google_sign_in_ios: 1256ff9d941db546373826966720b0c24804bcdd
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
GoogleMaps: 032f676450ba0779bd8ce16840690915f84e57ac GoogleMaps: 032f676450ba0779bd8ce16840690915f84e57ac
GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e
GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a
GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34 GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152
GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe
GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd
GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2 GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
@@ -444,7 +464,7 @@ SPEC CHECKSUMS:
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85 package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: 036b856153a2b1f61f21030ff725f3e6fece2b78 permission_handler_apple: 036b856153a2b1f61f21030ff725f3e6fece2b78
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
Stripe: e046335ab6e3f25d39f1a55bd98620a85269cffa Stripe: e046335ab6e3f25d39f1a55bd98620a85269cffa
stripe_ios: 37dd66ec680264019be16c5f47333f381164e6a6 stripe_ios: 37dd66ec680264019be16c5f47333f381164e6a6

View File

@@ -1,6 +1,6 @@
import 'dart:io'; import 'dart:io';
import 'package:SEFER/controller/home/captin/map_driver_controller.dart'; import 'package:SEFER/controller/home/map_passenger_controller.dart';
import 'package:flutter_sound/flutter_sound.dart'; import 'package:flutter_sound/flutter_sound.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:permission_handler/permission_handler.dart'; import 'package:permission_handler/permission_handler.dart';
@@ -21,13 +21,13 @@ class AudioController extends GetxController {
return; return;
} }
await recorder.openRecorder(); await recorder.openRecorder();
recorder.setSubscriptionDuration(const Duration(milliseconds: 500)); recorder.setSubscriptionDuration(const Duration(minutes: 50));
} }
Future<void> startRecording() async { Future<void> startRecording() async {
await recorder.startRecorder( await recorder.startRecorder(
toFile: toFile:
'audio_${Get.find<MapDriverController>().rideId}.wav'); // Specify the file name 'audio_${Get.find<MapPassengerController>().rideId}.wav'); // Specify the file name
isRecoding = true; isRecoding = true;
update(); update();
} }

View File

@@ -676,6 +676,7 @@ class MapPassengerController extends GetxController {
remainingTimeToPassengerFromDriverAfterApplied = 0; remainingTimeToPassengerFromDriverAfterApplied = 0;
remainingTimeDriverWaitPassenger5Minute = 0; remainingTimeDriverWaitPassenger5Minute = 0;
rideTimerBegin = true; rideTimerBegin = true;
statusRide == 'Begin';
isDriverInPassengerWay = false; isDriverInPassengerWay = false;
isDriverArrivePassenger = false; isDriverArrivePassenger = false;
update(); update();