Deploying - adventures-in/chat_app GitHub Wiki
Helpful Tools
Making animated GIFs of Flutter apps · flutter/flutter Wiki
Web
The web app is live at: https://adventures-in-chat.web.app
Build
flutter build web -t lib/main_web.dart
- builds to
build/web/
Deploy
firebase deploy --only hosting:adventures-in-chat
Play Store
Managing the Android App
The app is under the Enspyr Play Store Account. Anyone contributing to the app is welcome to ask for access. Ask @nickmeinhold or @jei.
App Store
iOS Signing
We are using match to manage Provisioning Profiles and Certificates.
IF you have not already, install fastlane:
gem install fastlane
Install the required Provisioning Profiles and Certificates by entering:
cd ios
fastlane match development
Cloud Functions
Build
cd functions
npm run build
Depending on your current setup, some steps may fail but the error messages should indicate what needs to done (if not, feel free to file an issue).
Firebase Backend
Install the firebase cli if you want to make changes to Firestore Security Rules or Cloud Functions.
Firestore
Security Rules
After making changes to firestore.rules you can deploy with
firebase deploy --only firestore:rules
see Manage and deploy Firebase Security Rules
Indexes
After making changes to firestore.indexes.json yo can deploy with
firebase deploy --only firestore:indexes
see Managing indexes | Firestore | Google Cloud
Cloud Functions
We are using Cloud Functions for Firebase to automatically run backend code in response to events triggered by Firebase Auth, Firestore, Cloud Storage.
The relevant code is in functions/
After making changes to functions/src/index.ts you can deploy with
firebase deploy --only functions