- Total Lines: 2,947
- File Size: 73KB
- Sections: 10 major topics
- Code Examples: 100+
- Configuration Templates: 50+
Coverage:
- Xcode build pipeline architecture
- Gradle configuration for Flutter plugins
- Build types (Debug, Release, Profile)
- Dart-to-native compilation (JIT vs AOT)
- Build optimization techniques
- ProGuard/R8 obfuscation rules
- Cross-platform build coordination
Key Resources:
- Xcode build phases configuration
- Gradle multi-threading setup
- Performance profiling commands
- Bitcode handling for App Store
Coverage:
- Account setup with role-based access control
- Bundle ID and package configuration
- Privacy policy and IDFA configuration
- App capabilities and device requirements
- Pricing and regional availability
- App Store Review Guidelines compliance
- Google Play Policy compliance
Key Resources:
- Privacy declaration templates
- Content rating questionnaire guidelines
- Data safety declarations
- Policy compliance checklists
Coverage:
- iOS certificate types and generation
- Certificate pinning implementation
- Provisioning profile management (Development, Ad Hoc, App Store)
- Android keystore generation and security
- Gradle signing configuration
- App Signing by Google Play
- Upload Key vs App Signing Key management
Key Resources:
- Certificate generation bash scripts
- Provisioning profile automation via Fastlane
- Keystore security best practices
- CI/CD secrets management
Coverage:
GitHub Actions:
- Build workflow (analyze, lint, test)
- Android builds (APK + AAB)
- iOS builds (without code signing)
- Coverage reporting and codecov integration
- Dependency resolution
- Artifact storage and retention
GitLab CI:
- Comprehensive .gitlab-ci.yml configuration
- Multi-stage pipeline (build, test, deploy)
- Coverage reports in Cobertura format
- Platform-specific runners
Fastlane Integration:
- Fastfile configuration for iOS and Android
- Build automation and app distribution
- TestFlight beta deployment
- Google Play Console publishing
- Version bump automation
- Changelog automation
Key Resources:
- 5 GitHub Actions workflow files
- GitLab CI configuration template
- Fastlane setup guide
- Metadata directory structure
Coverage:
- Unit test structure and patterns
- Widget test examples
- Integration test implementation
- Firebase Testing Lab configuration
- Robo testing setup
- Test coverage thresholds
- Test categorization and reporting
Key Resources:
- Complete unit test examples with mocks
- Widget test examples with Flutter integration
- Integration test examples
- Firebase Lab device configurations
- Coverage analysis scripts
- Test result aggregation
Coverage:
- Semantic versioning (MAJOR.MINOR.PATCH+BUILD)
- Version increment rules
- Automated version bumping scripts
- Release branch strategy (git-flow)
- CHANGELOG management
- Automated release notes generation
- Conventional commit parsing
Key Resources:
- Bash scripts for version management
- Python script for release notes generation
- CHANGELOG template
- Commit categorization rules
Coverage:
- TestFlight setup and workflow
- Tester invitation management
- Crash reporting from TestFlight
- Firebase Testing Lab device selection
- Robo test automation
- Instrumented test configuration
- Smoke testing and connectivity checks
Key Resources:
- TestFlight automation with Fastlane
- Firebase Lab gcloud commands
- Integration test code for lab testing
- Tester email management scripts
Coverage:
- Firebase Analytics integration
- Custom event tracking
- User property management
- Screen tracking
- Campaign impression tracking
- Firebase Crashlytics setup
- Exception handling and reporting
- Network error tracking
Key Resources:
- Complete Firebase Analytics service
- Crashlytics initialization code
- Error categorization system
- Custom event examples
Coverage:
- Real-time monitoring dashboard metrics
- Performance metrics (launch time, load time, API response)
- Availability metrics (uptime, crash-free sessions)
- User engagement metrics
- Firebase Performance monitoring
- Error severity categorization (P0-P3)
- Error response strategies
- Alert mechanisms
Key Resources:
- Performance monitoring service implementation
- Error severity classification
- Monitoring metrics dashboard
- On-call alerting strategies
Coverage:
- In-App Update for iOS and Android
- in_app_update package integration
- Server-driven update configuration
- Update version checking
- Forced vs optional updates
- Update UI flows and dialogs
- Delta updates and patch distribution
Key Resources:
- iOS custom update prompt
- Android flexible and immediate updates
- Server configuration JSON schema
- Update check initialization
- Delta patch generation with bsdiff
- Version increment in pubspec.yaml
- CHANGELOG updates
- Test suite execution (>85% coverage)
- Build verification (iOS + Android)
- Privacy policy review
- Screenshots and descriptions
- Release notes generation
- Release branch creation
- Build number increment
- Distribution certificate verification
- Provisioning profile validation
- App Store build and upload
- App Store review submission
- TestFlight monitoring
- Production release
- Version code increment
- Gradle configuration verification
- App Bundle generation and signing
- Google Play Console upload
- Staged rollout strategy (10% → 100%)
- Firebase Crashlytics monitoring
- Auto-update configuration
- Crash report monitoring
- Analytics verification
- User feedback collection
- Hotfix planning
- Documentation updates
- Version tagging
project/
├── .github/workflows/ # GitHub Actions workflows
│ ├── build.yml
│ ├── test.yml
│ ├── deploy-staging.yml
│ └── deploy-production.yml
├── .gitlab-ci.yml # GitLab CI configuration
├── fastlane/ # Fastlane automation
│ ├── Fastfile
│ ├── Appfile
│ └── metadata/
│ ├── android/
│ └── ios/
├── scripts/ # Automation scripts
│ ├── bump_version.sh
│ ├── generate_release_notes.py
│ ├── manage_testflight_testers.sh
│ ├── firebase_test_lab.sh
│ └── analyze_coverage.sh
├── lib/ # Main application code
│ ├── main.dart
│ ├── services/
│ │ ├── firebase_analytics_service.dart
│ │ ├── crashlytics_service.dart
│ │ ├── performance_monitoring_service.dart
│ │ ├── update_check_service.dart
│ │ └── error_handler.dart
│ └── ui/
├── test/ # Unit & widget tests
│ ├── unit/
│ └── widget/
├── integration_test/ # Integration tests
│ ├── app_test.dart
│ ├── marketing_flow_test.dart
│ └── firebase_lab_test.dart
├── ios/ # iOS configuration
│ ├── Podfile
│ ├── Runner.xcodeproj
│ └── Runner/Info.plist
├── android/ # Android configuration
│ ├── app/build.gradle
│ ├── build.gradle
│ └── local.properties
├── pubspec.yaml # Flutter dependencies
└── SKILL.md # This comprehensive guide
- GitHub Actions
- GitLab CI/CD
- Fastlane
- Firebase Analytics
- Firebase Crashlytics
- Firebase Performance
- Custom analytics service
- Flutter Test Framework
- Integration Test
- Firebase Testing Lab
- Robo Testing
- App Store Connect
- Google Play Console
- TestFlight
- Firebase Testing Lab
- Git with semantic versioning
- Conventional Commits
- Release branching strategy
-
Keystore Security
- Secure generation with 4096-bit RSA
- Environment variable management
- CI/CD secrets handling
- Never commit sensitive keys
-
Certificate Management
- Distribution certificate backup
- Validity period monitoring
- Certificate pinning for APIs
- Intermediate certificate updates
-
Data Privacy
- GDPR compliance
- CCPA compliance
- Privacy policy templates
- User consent management
-
Error Handling
- Secure error logging
- PII protection in logs
- Stack trace sanitization
- Sensitive data filtering
-
API Security
- Certificate pinning
- SSL/TLS enforcement
- API key management
- Rate limiting
- App launch time < 2 seconds
- Screen load time < 1 second
- API response time P95 < 500ms
- Memory usage < 100MB
- Battery drain < 5% per hour
- Crash-free sessions > 99%
- ANR rate < 0.1%
- API uptime 99.99%
- Network efficiency < 1MB per session
- Daily Active Users (DAU)
- Monthly Active Users (MAU)
- Session duration average
- Retention (D1, D7, D30)
- Conversion rate by campaign
Week 1-2: Infrastructure Setup
- GitHub Actions or GitLab CI setup
- Fastlane configuration
- Firebase project creation
Week 3-4: Build & Test Automation
- Build workflow implementation
- Unit test integration
- Coverage reporting setup
Week 5-6: Distribution Automation
- TestFlight/Firebase Lab setup
- Signing configuration
- Release automation
Week 7-8: Monitoring & Polish
- Analytics integration
- Crash reporting setup
- Performance monitoring
- Review the SKILL.md document completely
- Adapt configurations for your specific needs
- Implement gradually, starting with build automation
- Test each component before moving to production
- Monitor metrics and refine based on results
- Document your specific implementations
- Share knowledge with team members
Document Version: 1.0 Last Updated: November 2025 Total Content: 2,947 lines of comprehensive guidance