[bug]: --overwrite-firebase-options flag not working
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Comienza reproduciendo el comando reportado flutterfire configure con un archivo de salida existente y, a continuación, rastrea cómo se analiza y utiliza el indicador --overwrite-firebase-options. La tarea estará completada cuando el comando sobrescriba el archivo especificado sin pedir confirmación cuando el indicador esté presente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues.
CLI Version
1.0.0
Firebase Tools version
13.10.2
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale
en-HU)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (6 available)
! Error: Browsing on the local area network for -- iPhone. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!
Description
--overwrite-firebase-options Seems to not have any effect. After setting this option still asks: do you want to override it?
Example output
mateboros@Mates-MacBook-Pro my_catalog_app % flutterfire configure --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev" --overwrite-firebase-options
✔ You have to choose a configuration type. Either build configuration (most likely choice) or a target set up. · Build configuration
✔ Please choose one of the following build configurations · Debug-dev
? Generated FirebaseOptions file /Users/mateboros/Documents/Github/my_catalog_app/lib/firebase_options_dev.dart already exists, do you want to override it? (y/n) › yes
Steps to reproduce
SAMPLE: https://github.com/qwadrox/my_catalog_app
- Run:
flutterfire configure --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev" --overwrite-firebase-options
Expected behavior
Should not ask to override the file. It should just override.
Screenshots
No response
Additional context and comments
No response
- Lenguaje dominante
- Dart
- Estrellas
- 194
- Forks
- 77
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de invertase/flutterfire_cli
-
bug Needs Attention triage
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
invertase/flutterfire_cli#467 ·
-
[bug]: upload symbols fails with Flutter 3.44 because the SourcePackages have movedPosiblemente ocupada @TatsuUkraine la tomó hace 84 días. Abiertobug Needs Attention triage
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
invertase/flutterfire_cli#443 · 18 comentarios · 14 reacciones ·
-
bug Needs Attention triage
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
invertase/flutterfire_cli#428 · 14 comentarios · 4 reacciones ·
-
blocked: customer-response bug enhancement keep open
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
invertase/flutterfire_cli#403 · 1 comentario · 1 reacción ·
-
[bug]: flutterfire configure fails on reusing firebase.jsonPosiblemente ocupada @Lyokone la tomó hace 28 días. Abiertoblocked: customer-response bug keep open
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
invertase/flutterfire_cli#353 · 6 comentarios ·
Todos los issues de invertase/flutterfire_cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
google/skills_lint.dart#165 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
blankframe-tech/ThrottleIQ#23 ·
Los mantenedores suelen responder en 5 días
-
good first issue mobile P0 size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
trufi-association/trufi-core#1024 ·
Los mantenedores suelen responder en 14 días