# Deploy — LegacyApp

Guides through deployment to Codemagic for any of the flavors: dev, prod.

## Usage
```
Deploy [flavor] to [store/environment]
```

## Codemagic pipeline
The AI will generate or update the codemagic configuration file for:
- Build signing
- Running tests
- Distributing to Firebase App Distribution (beta) or App Store / Play Store (prod)

## Pre-deploy checklist
- [ ] Version bump in `pubspec.yaml`
- [ ] Obfuscation enabled for prod: `--obfuscate --split-debug-info=build/debug-symbols/`
- [ ] No debug flags in production code
- [ ] Security checklist from `security-standards.mdc` passed
- [ ] `cursor_gen --validate` passes
