Welcome to CI/CD Documentation for Flutter Apps!
About CI/CD
- In software engineering, CI/CD or CICD is the combined practices of continuous integration and continuous delivery or continuous deployment. CI/CD bridges the gaps between development and operational activities and teams by enforcing automation in building, testing and deployment of applications.
Source: Wikipedia*
Key Features
Implementing CI/CD in Flutter enhances app development by automating builds, testing, and deployment. Below are the key features of a robust CI/CD pipeline for Flutter apps:
1. Automated Code Integration (CI)
- Ensures code changes are continuously merged into the main branch.
- Automatically fetches the latest changes from the repository.
- Helps detect integration issues early.
2. Cross-Platform Build Automation
- Generates Android APK/AAB (
flutter build apk
/ flutter build appbundle
).
- Builds iOS IPA (
flutter build ios --no-codesign
).
- Supports web (
flutter build web
), desktop, and embedded platforms.
3. Code Signing & Security Management
- Automates signing of Android builds using
keystore.jks
.
- Manages iOS provisioning profiles and certificates via Fastlane Match.
- Securely stores sensitive credentials using CI/CD secrets management.
4. Artifact Management