// engine/doc-generator/mobile-distribution-android.ts — SPEC-013 tech-debt criterion 15
// Android/Google Play distribution section builder.
// SRP: one responsibility — generate Android store submission steps.
/**
 * Builds the Android Google Play Internal Testing & Production submission section.
 */
export function buildAndroidDistributionSection() {
    return {
        title: 'Android — Google Play Internal Testing & Production',
        level: 2,
        content: [
            '### Prerequisites',
            '- Google Play Console account ($25 one-time)',
            '- App created in Play Console with package name registered',
            '- Upload keystore configured in `app/build.gradle` signing config',
            '',
            '### Step 1: Build signed AAB',
            '```bash',
            './gradlew bundleRelease',
            '# Verify signing:',
            'jarsigner -verify -verbose -certs \\',
            '  app/build/outputs/bundle/release/app-release.aab',
            '```',
            '',
            '### Step 2: Upload to Internal Testing',
            '```bash',
            'fastlane supply --aab app/build/outputs/bundle/release/app-release.aab \\',
            '  --track internal',
            '```',
            '- In Play Console: Release → Testing → Internal testing → Create release',
            '- Upload AAB, add testers by email or Google Groups',
            '- Testers install via Play Store opt-in link (instant, no review)',
            '',
            '### Step 3: Promote to Production',
            '```bash',
            'fastlane supply --track internal --track_promote_to production',
            '```',
            '- Complete content rating questionnaire',
            '- Verify target API level meets Play Store requirements (current: API 34+)',
            '- Set phased rollout percentage: 1% → 5% → 10% → 100% over 7 days',
            '- Monitor Android Vitals: crash rate < 1.09%, ANR rate < 0.47%',
            '',
            '> **Verification:** Bundle in Play Console "Available to testers" status. `jarsigner -verify` passes.',
        ].join('\n'),
    };
}
//# sourceMappingURL=mobile-distribution-android.js.map