diff --git a/.env b/.env new file mode 100644 index 0000000..4bab48d --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +BASIC_AUTH_CREDENTIALS=hamzaayedphp:malDEV@2101 +SERVER_API=AAAAinYllCo:APA91bF1shTpzSsSxqbfY6c60D8zs1ZsdIsl9ix6nl7GDdjCqWPRK0G0ub5SqFdb1jDpQDvQPxGg-697MWLo0sy3oYImBwBLObyhk0GjtNzyr0PbE3hI-pOvhf8Vp1xgUgBmofbZYXkH +MAP_API_KEY=AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0 +TRANSACTION_CLOUDE=Authorization:API_EMDJX6BHQ67DBGT6WV:DG2XPU7YEN02M0VJ2F + diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 610dbcc..3dd6b2d 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -5,15 +5,18 @@ PODS: - AppAuth/Core (1.6.2) - AppAuth/ExternalUserAgent (1.6.2): - AppAuth/Core + - credit_card_scanner (0.0.1): + - Flutter + - GoogleMLKit/TextRecognition - Firebase/CoreOnly (10.12.0): - FirebaseCore (= 10.12.0) - Firebase/Messaging (10.12.0): - Firebase/CoreOnly - FirebaseMessaging (~> 10.12.0) - - firebase_core (2.15.0): + - firebase_core (2.15.1): - Firebase/CoreOnly (= 10.12.0) - Flutter - - firebase_messaging (14.6.5): + - firebase_messaging (14.6.7): - Firebase/Messaging (= 10.12.0) - firebase_core - Flutter @@ -45,6 +48,8 @@ PODS: - FMDB (2.7.5): - FMDB/standard (= 2.7.5) - FMDB/standard (2.7.5) + - geolocator_apple (1.2.0): + - Flutter - google_maps_flutter_ios (0.0.1): - Flutter - GoogleMaps (< 8.0) @@ -60,10 +65,27 @@ PODS: - GoogleMaps/Base (7.4.0) - GoogleMaps/Maps (7.4.0): - GoogleMaps/Base + - GoogleMLKit/MLKitCore (4.0.0): + - MLKitCommon (~> 9.0.0) + - GoogleMLKit/TextRecognition (4.0.0): + - GoogleMLKit/MLKitCore + - MLKitTextRecognition (~> 2.0.0) - GoogleSignIn (6.2.4): - AppAuth (~> 1.5) - GTMAppAuth (~> 1.3) - GTMSessionFetcher/Core (< 3.0, >= 1.1) + - GoogleToolboxForMac/DebugUtils (2.3.2): + - GoogleToolboxForMac/Defines (= 2.3.2) + - GoogleToolboxForMac/Defines (2.3.2) + - GoogleToolboxForMac/Logger (2.3.2): + - GoogleToolboxForMac/Defines (= 2.3.2) + - "GoogleToolboxForMac/NSData+zlib (2.3.2)": + - GoogleToolboxForMac/Defines (= 2.3.2) + - "GoogleToolboxForMac/NSDictionary+URLArguments (2.3.2)": + - GoogleToolboxForMac/DebugUtils (= 2.3.2) + - GoogleToolboxForMac/Defines (= 2.3.2) + - "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)" + - "GoogleToolboxForMac/NSString+URLArguments (2.3.2)" - GoogleUtilities/AppDelegateSwizzler (7.11.5): - GoogleUtilities/Environment - GoogleUtilities/Logger @@ -81,12 +103,36 @@ PODS: - GoogleUtilities/Logger - GoogleUtilities/UserDefaults (7.11.5): - GoogleUtilities/Logger + - GoogleUtilitiesComponents (1.1.0): + - GoogleUtilities/Logger - GTMAppAuth (1.3.1): - AppAuth/Core (~> 1.6) - GTMSessionFetcher/Core (< 3.0, >= 1.5) - GTMSessionFetcher/Core (2.3.0) - location (0.0.1): - Flutter + - MLImage (1.0.0-beta4) + - MLKitCommon (9.0.0): + - GoogleDataTransport (~> 9.0) + - GoogleToolboxForMac/Logger (~> 2.1) + - "GoogleToolboxForMac/NSData+zlib (~> 2.1)" + - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)" + - GoogleUtilities/UserDefaults (~> 7.0) + - GoogleUtilitiesComponents (~> 1.0) + - GTMSessionFetcher/Core (< 3.0, >= 1.1) + - MLKitTextRecognition (2.0.0): + - MLKitCommon (~> 9.0) + - MLKitTextRecognitionCommon (= 1.0.0) + - MLKitVision (~> 5.0) + - MLKitTextRecognitionCommon (1.0.0): + - MLKitCommon (~> 9.0) + - MLKitVision (~> 5.0) + - MLKitVision (5.0.0): + - GoogleToolboxForMac/Logger (~> 2.1) + - "GoogleToolboxForMac/NSData+zlib (~> 2.1)" + - GTMSessionFetcher/Core (< 3.0, >= 1.1) + - MLImage (= 1.0.0-beta4) + - MLKitCommon (~> 9.0) - nanopb (2.30909.0): - nanopb/decode (= 2.30909.0) - nanopb/encode (= 2.30909.0) @@ -101,19 +147,24 @@ PODS: - FMDB (>= 2.7.5) - url_launcher_ios (0.0.1): - Flutter + - webview_flutter_wkwebview (0.0.1): + - Flutter DEPENDENCIES: + - credit_card_scanner (from `.symlinks/plugins/credit_card_scanner/ios`) - firebase_core (from `.symlinks/plugins/firebase_core/ios`) - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) - Flutter (from `Flutter`) - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`) - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) + - geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`) - google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) - google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/ios`) - location (from `.symlinks/plugins/location/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - sqflite (from `.symlinks/plugins/sqflite/ios`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) + - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) SPEC REPOS: trunk: @@ -126,14 +177,24 @@ SPEC REPOS: - FMDB - GoogleDataTransport - GoogleMaps + - GoogleMLKit - GoogleSignIn + - GoogleToolboxForMac - GoogleUtilities + - GoogleUtilitiesComponents - GTMAppAuth - GTMSessionFetcher + - MLImage + - MLKitCommon + - MLKitTextRecognition + - MLKitTextRecognitionCommon + - MLKitVision - nanopb - PromisesObjC EXTERNAL SOURCES: + credit_card_scanner: + :path: ".symlinks/plugins/credit_card_scanner/ios" firebase_core: :path: ".symlinks/plugins/firebase_core/ios" firebase_messaging: @@ -144,6 +205,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/flutter_local_notifications/ios" flutter_secure_storage: :path: ".symlinks/plugins/flutter_secure_storage/ios" + geolocator_apple: + :path: ".symlinks/plugins/geolocator_apple/ios" google_maps_flutter_ios: :path: ".symlinks/plugins/google_maps_flutter_ios/ios" google_sign_in_ios: @@ -156,12 +219,15 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/sqflite/ios" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" + webview_flutter_wkwebview: + :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" SPEC CHECKSUMS: AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570 + credit_card_scanner: 2c3c58d821ec493cb42cf7c782dc461f516c212b Firebase: 07150e75d142fb9399f6777fa56a187b17f833a0 - firebase_core: e477125798fc37cd4ab43ca6a8536bf7e0929c00 - firebase_messaging: 334d68c3a36b6d4d5cd91e4f42509e0d4ae49828 + firebase_core: 4a3246a02f828a01c74a2c26427037786d90f17f + firebase_messaging: 0b4f7997f491343b90d9300af54fe55c72135833 FirebaseCore: f86a1394906b97ac445ae49c92552a9425831bed FirebaseCoreInternal: b342e37cd4f5b4454ec34308f073420e7920858e FirebaseInstallations: b28af1b9f997f1a799efe818c94695a3728c352f @@ -170,20 +236,30 @@ SPEC CHECKSUMS: flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743 flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a + geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401 google_maps_flutter_ios: abdac20d6ce8931f6ebc5f46616df241bfaa2cfd google_sign_in_ios: 1256ff9d941db546373826966720b0c24804bcdd GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 GoogleMaps: 032f676450ba0779bd8ce16840690915f84e57ac + GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a + GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34 GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084 + GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2 - location: 14159dff482de87eb2e0c3a9f234eca65ad7decb + location: d5cf8598915965547c3f36761ae9cc4f4e87d22e + MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b + MLKitCommon: c1b791c3e667091918d91bda4bba69a91011e390 + MLKitTextRecognition: 9ff0c843f2723d31d4bdd0c0d17a0a18382ed23e + MLKitTextRecognitionCommon: 0d48930fee25cce9d52d0ba217490d4797061aa2 + MLKitVision: 8baa5f46ee3352614169b85250574fde38c36f49 nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 + webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a PODFILE CHECKSUM: a57f30d18f102dd3ce366b1d62a55ecbef2158e5 diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index ca67986..85f6848 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -1,61 +1,65 @@ - - - GMSApiKey - YOUR_API_KEY - NSLocationWhenInUseUsageDescription - Your location is required to provide relevant information. - NSCameraUsageDescription - Sefer app requires access to your camera in order to scan QR codes and capture images for uploading. - NSLocationAlwaysAndWhenInUseUsageDescription - Sefer app needs access to your location to provide you with accurate directions and location-based services. - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Sefer - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Sefer - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - + + GMSApiKey + YOUR_API_KEY + NSLocationWhenInUseUsageDescription + Your location is required to provide relevant information. + NSCameraUsageDescription + Sefer app requires access to your camera in order to scan QR codes and capture images for uploading. + NSLocationAlwaysAndWhenInUseUsageDescription + Sefer app needs access to your location to provide you with accurate directions and location-based services. + FirebaseAppDelegateProxyEnabled + NO + CFBundleGetInfoString + + LSApplicationCategoryType + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Sefer + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Sefer + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + + diff --git a/key/CertificateSigningRequest.certSigningRequest b/key/CertificateSigningRequest.certSigningRequest new file mode 100644 index 0000000..7ea6c83 --- /dev/null +++ b/key/CertificateSigningRequest.certSigningRequest @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIICmDCCAYACAQAwUzEmMCQGCSqGSIb3DQEJARYXaGFtemFheWVkZGV2QGljbG91 +ZC5jb20xHDAaBgNVBAMME0hhbXphIEFsZWdod2FpcnllZW4xCzAJBgNVBAYTAkpP +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9VnNN4Mp4mQyTHKS4UhX +DDl9zMaBGnlWx7NqJin3Vim+Jq3CvprO3HTx6PG+Ub92VZWOje0fx8v72P87xqG1 +eQpbqPnv6rC/8PuQDoKu7GD/vDfAfrculpIJRyVcAew8yCLfDq6VMqP3qjR4j12p +mWfFV48JFuK7pk+qR8LEi5cs42QLIxgEcMEZcJNqZxp7L/cdf+CT7ceA5yoI1RA8 +0LP4zGbXdPBFr+2AYWiN5mo06WvK8GRKm2Dzsw9zd2s3nhJoiP98oVr4J5wgG84K +ODp1uHH0HA4+9/IL8NEptstCIxy3Dx7TpRoTG7OcvCLtb5k7hNNMhzI5l6HBvksS +ywIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAGkumJGj7p8pUernVuQVDTbV8sxQ +Bqi60zXjNiKD0L8yxMrk9M4vQDmJGoNtoMRQk29Rqkti1Oeoo5oN65tqgDe6LTA6 ++LQAgrd/uKFmki5419mBfCM4nJC98HaLVIv/nfNk7jUd8WDW73EaE5193xHMTYLL +37zZIr3Og0gIWptXeXvBYPVwlS7oZpBODW0qsI+D6oKfGtXQRvxK8IdZhbIaKyZp +6zc5xrBJVvScHuRFSiLqT1Z07cHiMvkOPA3DycfYr+ifPL5aot6GAiqVM4v3y7PS +3/T5UiNi69tdWY2wCOrYnbJTgf7CAyquPjXYfifWA+BrrPxIMKvf1SLz370= +-----END CERTIFICATE REQUEST----- diff --git a/key/Certificates.p12 b/key/Certificates.p12 new file mode 100644 index 0000000..f1fb2e5 Binary files /dev/null and b/key/Certificates.p12 differ diff --git a/lib/main.dart b/lib/main.dart index 69a0f6f..a1aa2ab 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -7,7 +7,6 @@ import 'package:get/get.dart'; import 'package:get_storage/get_storage.dart'; import 'package:ride/views/auth/login_page.dart'; import 'package:ride/views/home/Captin/home_captin.dart'; -import 'package:ride/views/lang/languages.dart'; import 'constant/box_name.dart'; import 'controller/firebase/firbase_messge.dart'; diff --git a/pubspec.lock b/pubspec.lock index d65377c..0adb8a7 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -145,6 +145,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.8" + dotenv: + dependency: "direct main" + description: + name: dotenv + sha256: e169b516bc7b88801919e1c508772bcb8e3d0d1776a43f74ab692c57e741cd8a + url: "https://pub.dev" + source: hosted + version: "4.1.0" fake_async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index cf8829e..f22be87 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,6 +35,7 @@ dependencies: geolocator: ^10.0.0 flutter_paypal: ^0.2.0 flutter_launcher_icons: ^0.13.1 + dotenv: ^4.1.0 dev_dependencies: flutter_test: