A Flutter project for the Only Kids hairdressing salon.
flutter run
- run in dev modeflutter run --profile
flutter run --release
firebase deploy --only firestore:rules
firebase deploy --only storage
Make keytool available in the path: C:\"Program Files"\Android\"Android Studio"\jre\bin\
cd c:\"Program Files (x86)"\Java\jre1.8.0_201\bin
keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
android
keytool -genkey -v -keystore c:/Users/<username>/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
keytool -exportcert -list -v -alias <your-key-name> -keystore %USERPROFILE%\key.jks
flutter build appbundle
- build Android app bundleHow to Load Firebase Config in CodeMagic with Environment Variables:
certutil -encode google-services.json google-services-base64.json
#!/bin/sh
echo $ANDROID_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
Fix: base64 command not found. Clear the spaces between base64 and --decode(by using the backspace key until the 4 in base64 deletes — as this signals that all Unicode characters are deleted) then add the 4 and the space back in again
firebase deploy --only functions