From 1d513ab1a8980512364e5e823409dac923a6e4f4 Mon Sep 17 00:00:00 2001 From: Abraham Date: Thu, 24 Jul 2025 17:00:01 -0700 Subject: [PATCH] =?UTF-8?q?solucionado=20el=20error=20grave,=20se=20elimin?= =?UTF-8?q?=C3=B3=20stripe=20y=20los=20plugins=20de=20video?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/helpers/constants.dart | 13 ++++ pubspec.lock | 136 ------------------------------------- pubspec.yaml | 12 ++-- 3 files changed, 17 insertions(+), 144 deletions(-) diff --git a/lib/helpers/constants.dart b/lib/helpers/constants.dart index 1b7339d..f6b7683 100644 --- a/lib/helpers/constants.dart +++ b/lib/helpers/constants.dart @@ -10,8 +10,21 @@ const redirectUrl = '$supabaseUrl/change-pass/change-password/token'; const String apiGatewayUrl = 'https://cbl.virtalus.cbluna-dev.com/uapi/lu/api'; const String n8nUrl = 'https://u-n8n.virtalus.cbluna-dev.com/webhook'; +const bearerApiGateway = "Basic YWlyZmxvdzpjYiF1bmEyMDIz"; const int organizationId = 10; +const String lectoresUrl = 'https://lectoresurbanos.com/'; const themeId = String.fromEnvironment('themeId', defaultValue: '2'); const int mobileSize = 800; + +//GoogleMaps +const apiKey = '-plDP_dR7XAGxBSiHgTFyxkxNdjFFHqjQK9ge8b92CE'; + +//Stripe +const stripeKey = + 'sk_test_51QB3lZRxye2e7dlWyeWcHWmgsJ9kEbIz4lrgJtUIKuC7WEB0HM0njk6Mcgq1q1H9GTs7fByRZdvxHaSAGhzcBqYF00fLxZU9E9'; +const authorizationKey = 'Bearer $stripeKey'; + +const urlStripe = 'https://api.stripe.com'; +const idPricePlanRentaQR = 'price_1QPaDnRxye2e7dlWORf4GoHS'; diff --git a/pubspec.lock b/pubspec.lock index ae8b237..71be54b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -33,14 +33,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.5.1" - appinio_video_player: - dependency: "direct main" - description: - name: appinio_video_player - sha256: "43b5a269d461a8ec37394ee12c6e3461e8348b9127f9928e49b84adb90c5cf86" - url: "https://pub.dev" - source: hosted - version: "1.3.0" async: dependency: transitive description: @@ -81,14 +73,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.12" - cached_video_player: - dependency: transitive - description: - name: cached_video_player - sha256: "13c25fc1af3bb239da83d9e965d119463a67a782fd9af3714ed86a1182ded20c" - url: "https://pub.dev" - source: hosted - version: "2.0.4" calendar_date_picker2: dependency: "direct main" description: @@ -169,14 +153,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.3" - csslib: - dependency: transitive - description: - name: csslib - sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" - url: "https://pub.dev" - source: hosted - version: "1.0.2" cupertino_icons: dependency: "direct main" description: @@ -507,22 +483,6 @@ packages: url: "https://pub.dev" source: hosted version: "5.2.1" - flutter_stripe: - dependency: "direct main" - description: - name: flutter_stripe - sha256: "06d7d8ac853470b7c9a9ed81f9fccafaf35f417a151e1b7ddcded56113aadf6f" - url: "https://pub.dev" - source: hosted - version: "11.3.0" - flutter_stripe_web: - dependency: "direct main" - description: - name: flutter_stripe_web - sha256: c555abcef31b3ef9ec12efb7c706f8d400124a35237831a1252e01aa1af742e7 - url: "https://pub.dev" - source: hosted - version: "6.3.0" flutter_test: dependency: "direct dev" description: flutter @@ -549,14 +509,6 @@ packages: url: "https://pub.dev" source: hosted version: "8.2.12" - freezed_annotation: - dependency: transitive - description: - name: freezed_annotation - sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2 - url: "https://pub.dev" - source: hosted - version: "2.4.4" functions_client: dependency: transitive description: @@ -637,14 +589,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" - html: - dependency: transitive - description: - name: html - sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" - url: "https://pub.dev" - source: hosted - version: "0.15.4" http: dependency: "direct main" description: @@ -749,14 +693,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.4" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" - url: "https://pub.dev" - source: hosted - version: "4.9.0" jwt_decode: dependency: transitive description: @@ -1226,38 +1162,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.4.1" - stripe_android: - dependency: transitive - description: - name: stripe_android - sha256: bc919b07ba1560b25a69002f9ca67a5973f12bfb96f78033cf9bd6c561f1aa10 - url: "https://pub.dev" - source: hosted - version: "11.3.0" - stripe_ios: - dependency: transitive - description: - name: stripe_ios - sha256: "734a7668babd85a451c8049f0dfa8ca5dc6d80f85600d29732e7fa703dd5ec5e" - url: "https://pub.dev" - source: hosted - version: "11.3.0" - stripe_js: - dependency: transitive - description: - name: stripe_js - sha256: d12c628c82e0cea0f5c93c7751c8b01d5ef25f417797c270cd62713564cdee6f - url: "https://pub.dev" - source: hosted - version: "6.2.1" - stripe_platform_interface: - dependency: transitive - description: - name: stripe_platform_interface - sha256: "5cb987074b6ee199e7dd1b81d189c87583f6eaeb19147ffc8c15bc009596e6ce" - url: "https://pub.dev" - source: hosted - version: "11.3.0" supabase: dependency: transitive description: @@ -1410,46 +1314,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - video_player: - dependency: "direct main" - description: - name: video_player - sha256: "868a139229acb5018d22aded3eb9cb4767ff43a8216573c086b6c535a4957481" - url: "https://pub.dev" - source: hosted - version: "2.6.0" - video_player_android: - dependency: transitive - description: - name: video_player_android - sha256: e7de6fabe5d96048cd8f4d710f25c3df84bb3cab8b22da6c082bd8f39e316984 - url: "https://pub.dev" - source: hosted - version: "2.4.3" - video_player_avfoundation: - dependency: transitive - description: - name: video_player_avfoundation - sha256: "90468226c8687adf7b567d9bb42c25588783c4d30509af1fbd663b2dd049f700" - url: "https://pub.dev" - source: hosted - version: "2.4.2" - video_player_platform_interface: - dependency: transitive - description: - name: video_player_platform_interface - sha256: "318a6d20577e1c78cf0bf40670883cc571ea860c72a4f7426d7dacce4bdd4343" - url: "https://pub.dev" - source: hosted - version: "5.1.4" - video_player_web: - dependency: transitive - description: - name: video_player_web - sha256: fb3bbeaf0302cb0c31340ebd6075487939aa1fe3b379d1a8784ef852b679940e - url: "https://pub.dev" - source: hosted - version: "2.0.15" vm_service: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 26f9c14..144a447 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,12 +15,12 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.8 - intl: 0.20.2 # Versión específica requerida por flutter_localizations + intl: ^0.19.0 # Volver a la versión compatible con flutter_localizations go_router: ^14.6.2 dio: ^5.7.0 supabase_flutter: ^1.10.25 flutter_secure_storage: ^9.2.4 - pluto_grid: ^8.0.0 # Revertir a la versión original que funcionaba + pluto_grid: ^8.0.0 google_fonts: ^6.2.1 google_maps: ^6.3.0 gap: ^3.0.1 @@ -47,7 +47,6 @@ dependencies: # Paquetes adicionales del pubspec.yaml que te proporcionaron animated_toggle_switch: ^0.8.2 another_stepper: ^1.2.2 - appinio_video_player: ^1.3.0 buttons_tabbar: ^1.3.8 carousel_slider: ^5.0.0 chip_list: ^3.0.0 @@ -69,9 +68,6 @@ dependencies: screenshot: ^3.0.0 shared_preferences: ^2.2.2 toggle_switch: ^2.3.0 - video_player: ^2.6.0 - flutter_stripe: ^11.3.0 - flutter_stripe_web: ^6.3.0 responsive_builder: ^0.7.1 tab_container: ^3.5.3 group_button: ^5.3.4 @@ -86,7 +82,7 @@ dev_dependencies: flutter_lints: ^3.0.0 dependency_overrides: - intl: ^0.19.0 # Override para que pluto_grid funcione como antes + intl: ^0.19.0 # Override para que pluto_grid funcione flutter: uses-material-design: true @@ -101,4 +97,4 @@ flutter: fonts: - asset: assets/fonts/Poppins-Regular.ttf - asset: assets/fonts/Poppins-Bold.ttf - weight: 700 \ No newline at end of file + weight: 700