[bug]: `--android-app-id` flag does not update value
Is there an existing issue for this?
- [X] I have searched the existing issues.
CLI Version
0.2.6
Firebase Tools version
11.14.2
Flutter Doctor Output
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-TH) [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.72.2) [✓] Connected device (2 available) [✓] HTTP Host Availability
• No issues found!
Description
command not found: --android-package-name=dev.rdewan.ecomApp.development
flutterfire config
--project=flutter-ecomapp-dev-c7f8b
--out=lib/core/firebase/firebase_options_dev.dart
--ios-bundle-id=dev.rdewan.ecomApp.development \
--android-package-name=dev.rdewan.ecomApp.development
Steps to reproduce
change to --android-app-id but it does not wrok
Expected behavior
should create a correct add with android id
Screenshots
No response
Additional context and comments
No response
Hello @rddewan, I just tried locally, can you try properly with
flutterfire configure --android-package-name=com.your.name
To check?
@Lyokone it does not work , it use the default android package name , but since i have a flavor setup it will have a suffix based on flavor
#0 FirebaseConfigurationFile.write (package:flutterfire_cli/src/firebase/firebase_configuration_file.dart:75:11)
<asynchronous suspension>
zsh: command not found: --android-package-name=dev.rdewan.ecomApp.qa
You are missing some backslashes in your command. Try this instead:
flutterfire config \
--project=flutter-ecomapp-dev-c7f8b \
--out=lib/core/firebase/firebase_options_dev.dart \
--ios-bundle-id=dev.rdewan.ecomApp.development \
--android-package-name=dev.rdewan.ecomApp.development
I was not able to reproduce, and as @NoizyCr1cket pointed out, you are missing backslashes.