calorie-ai-android/web
Daniel f14b433085
Some checks failed
Android CI / build (push) Successful in 1m33s
Web CI / test (push) Failing after 1m23s
Android Release / release-apk (push) Failing after 22s
Replace Kotlin app with Capacitor WebView wrapper
The native Kotlin/Compose app is replaced by a Capacitor shell that
loads the existing Svelte web app from the self-hosted server URL,
set via APP_SERVER_URL secret at build time.

- web/capacitor.config.ts: appId com.danvics.calorieai, reads
  APP_SERVER_URL env var so the WebView points at the live server
- web/android/: Capacitor-generated Android project (gradlew included)
- AndroidManifest.xml: added CAMERA, READ_MEDIA_IMAGES, READ_EXTERNAL_STORAGE
- MealForm.svelte: split file input into Camera (capture=environment)
  and Gallery buttons so both options are accessible natively
- release.yml: npm ci → npm run build → cap sync → gradlew assembleDebug;
  removed manual Gradle installation, uses bundled gradlew instead
- package.json: Capacitor packages as devDependencies (not shipped in
  the Docker server image)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 18:14:53 +02:00
..
android Replace Kotlin app with Capacitor WebView wrapper 2026-05-20 18:14:53 +02:00
public Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
src Replace Kotlin app with Capacitor WebView wrapper 2026-05-20 18:14:53 +02:00
tests Refactor Android app to production grade with improved UI and sync 2026-05-20 05:32:01 +02:00
.dockerignore Add web auth and app navigation 2026-05-19 17:59:02 +02:00
.env.example Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
capacitor.config.ts Replace Kotlin app with Capacitor WebView wrapper 2026-05-20 18:14:53 +02:00
docker-compose.yml Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
Dockerfile Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
index.html Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
package-lock.json Replace Kotlin app with Capacitor WebView wrapper 2026-05-20 18:14:53 +02:00
package.json Replace Kotlin app with Capacitor WebView wrapper 2026-05-20 18:14:53 +02:00
playwright.config.js Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
server.js Refactor Android app to production grade with improved UI and sync 2026-05-20 05:32:01 +02:00
vite.config.js Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00