# FitBNR — Post-Acquisition Development Roadmap

This roadmap outlines realistic, high-ROI engineering phases that the buyer can execute after acquiring FitBNR (optionally in partnership with the Original Developer).

---

## Phase 1: Google Play Launch & Production Hardening (Weeks 1–3)
- **Play Store Compliance & API 36+**: Upgrade `compileSdk`/`targetSdk` from `34` to **Android 16 / API 36+** (required for new Play Store submissions on/after August 31, 2026); remove `REQUEST_INSTALL_PACKAGES` and sideload OTA installer (`AppUpdateManager.kt`); integrate Google Play In-App Updates API.
- **API Key Security**: Deploy lightweight backend proxy (Firebase Cloud Functions or Vercel/Next.js API) for Gemini & Groq calls so keys are not embedded in the client APK.
- **Release Optimization**: Enable R8/ProGuard (`isMinifyEnabled = true`), test release `.aab` bundle, and migrate to buyer's Firebase project.
- **Automated Testing Baseline**: Add unit tests for `NutritionCalculator`, `MuscleRecoveryManager`, and `ProgressiveOverloadManager`, plus Compose UI smoke tests.
- **Legal & Store Assets**: Publish Privacy Policy, complete Play Console Data Safety & Health Apps Declarations, and upload localized EN/AR Play Store graphics.

## Phase 2: Monetization Activation (Weeks 4–6)
- **Google Play Billing v6+**: Implement Monthly/Annual **FitBNR Pro** subscriptions + optional Lifetime unlock.
- **Paywall & Feature Gating**: Gate AI Photo/Text Meal Scanning, 3-Head Deltoid Body Map insights, and Multi-Day Split Generator with a clean trial/freemium flow.
- **Analytics & Crash Reporting**: Add Firebase Crashlytics and Firebase Analytics conversion funnels (Onboarding → First Workout → Paywall → Subscription).

## Phase 3: Retention & Ecosystem Expansion (Months 2–4)
- **Social Auth**: Add Google Sign-In alongside Firebase Email/Password to reduce onboarding drop-off.
- **Barcode Food Scanner**: Add CameraX + ML Kit barcode scanning integrated with OpenFoodFacts and the existing Firestore `global_food_database`.
- **Android Health Connect Integration**: Sync steps, workouts, calories, and body weight bidirectionally with Google Health Connect, Samsung Health, and Wear OS.
- **Gesture Drag-and-Drop Reordering**: Upgrade exercise ordering from Up/Down buttons to native touch drag-and-drop.

## Phase 4: B2B, Coach Portal & Cross-Platform (Months 5+)
- **Trainer / Coach Web Dashboard**: Allow coaches to assign custom splits and monitor client adherence in Firestore.
- **iOS Expansion**: Extract domain logic (`NutritionCalculator`, `MuscleRecoveryManager`, `ProgressiveOverloadManager`) into Kotlin Multiplatform (KMP) with a SwiftUI frontend.
