mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2026-08-25 01:05:36 +00:00
- Add the missing flutterEmbedding v2 meta-data to 8 manifests that still used the removed v1 embedding - Drop stale package attributes from covid19_mobile_app debug/profile manifests that conflicted with its namespace - Override gallery_saver_plus's hardcoded compileSdk 31 in image_editor so its dependencies resolve (documented AAR metadata check now passes) - Document that the three Firebase apps need a developer-provided google-services.json before they can build
1.6 KiB
1.6 KiB
Repository Maintenance
All maintenance commands are available through the Makefile at the repository root. Run make help to see the full list.
Available commands
| Command | Description |
|---|---|
make help |
Show all available commands |
make packages |
Run flutter packages get for all example apps |
make clean-builds |
Move all build folders to trash |
make gradle-update |
Upgrade Gradle wrappers to the latest version |
make docs |
Regenerate documentation/EXAMPLES.md from the app folders |
Update Gradle wrappers
make gradle-update upgrades the Gradle wrapper of every example app.
| Option | Description |
|---|---|
VERSION=<x.y.z> |
Target a specific Gradle version. Default: latest from GitHub |
FORCE=1 |
Upgrade even when the app is already on the target version |
Examples:
make gradle-update # latest version
make gradle-update VERSION=9.7.0 # specific version
make gradle-update FORCE=1 # latest version, force update
make gradle-update VERSION=9.7.0 FORCE=1 # specific version, force update
Firebase apps
These apps connect to Firebase and need a developer-provided google-services.json
in <app>/android/app/ before they can be built:
firebase_google_authenticationgoogle_signinusing_firebase_db
The file is never committed because it contains your Firebase project config. Create a Firebase project for each app and download the file from the Firebase console.
Requirements
make(preinstalled on macOS and most Linux systems)trash(required bymake clean-builds):brew install trash