🚀 Simplifying Multi-Environment Firebase Configurations with FlutterFire CLI
Did you know? The FlutterFire CLI natively supports multiple flavors/environments! 🌟
Here’s how to set it up for different Firebase environments:
# For the [DEV] environment
flutterfire config \
--out=lib/firebase_options_dev.dart \
--ios-bundle-id=com.nabrajkhadka.dev \
--macos-bundle-id=com.nabrajkhadka.dev \
--android-app-id=com.nabrajkhadka.dev
# For the [PROD] environment
flutterfire config \
--out=lib/firebase_options.dart \
--ios-bundle-id=com.nabrajkhadka.com \
--macos-bundle-id=com.nabrajkhadka.com \
--android-app-id=com.nabrajkhadka.com
Manage different environments effortlessly and enhance your development workflow. 🔧
#Flutter #Firebase #FlutterFire #MobileDevelopment #DevTips #Coding
Â