batchCooking/apps/web/android
Nicolas fd5841d045
All checks were successful
CI / lint (push) Successful in 4m59s
CI / build (push) Successful in 3m15s
CI / intent-service-test (push) Successful in 6m5s
CI / e2e (push) Successful in 11m41s
CI / test (push) Successful in 20m16s
feat(mobile): ajoute le projet natif Android Capacitor (#39)
Dernière étape du portage mobile #39 : génère et versionne le projet natif
Android (`npx cap add android`) que les phases 1 à 3 (jeton Bearer, passe
responsive, plomberie web) préparaient déjà.

- `apps/web/android/` — projet natif Capacitor 8.5. Permission `INTERNET`
  présente par défaut, `applicationId` = `fr.kyuno.batchcooking`.
- Thème natif aligné sur la palette « Mise en Place » (`_theme.scss`) :
  `colors.xml` redéfinit `colorPrimary`/`Dark`/`Accent` (basilic/vermillon)
  par-dessus les défauts Material de la lib capacitor-android ; barre de
  statut basilic foncé, fond de fenêtre « porcelaine » pour ne pas flasher
  blanc au démarrage à froid ; `postSplashScreenTheme` pour la transition.
- Icône adaptative + splash (clair et sombre, toutes densités) générés
  depuis `apps/web/assets/logo.svg` (monogramme « bC », géométrie seule, pas
  de `<text>`) via `@capacitor/assets` ; sources et commande de régénération
  documentées dans `apps/web/assets/README.md`. `@capacitor/assets` n'est pas
  ajouté aux dépendances (il tire `sharp`, hors `onlyBuiltDependencies`) —
  lancé via `npx`.
- `.gitignore` racine : ignore `/.idea/` (Android Studio ouvre désormais le
  dépôt comme projet). `biome.json` : exclut `apps/web/android` du lint.
- README : section « Application mobile (Android) » (prérequis + flux de
  build `build:capacitor` → `cap sync` → Android Studio).

Le bundle web copié sous `android/app/src/main/assets/public/` reste
git-ignoré (régénéré par `pnpm build:capacitor && npx cap sync android`).
Build de l'APK + test sur appareil : à finir dans Android Studio — la CI
self-hosted ne build pas Android.

Vérifs : `pnpm build` + `pnpm lint` OK ; `npx cap sync android` OK ; tous
les XML natifs bien formés.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 09:32:24 +02:00
..
app feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
gradle/wrapper feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
.gitignore feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
build.gradle feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
capacitor.settings.gradle feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
gradle.properties feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
gradlew feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
gradlew.bat feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
settings.gradle feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00
variables.gradle feat(mobile): ajoute le projet natif Android Capacitor (#39) 2026-09-06 09:32:24 +02:00