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>
22 lines
987 B
Properties
22 lines
987 B
Properties
# Project-wide Gradle settings.
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
# Gradle settings configured through the IDE *will override*
|
|
# any settings specified in this file.
|
|
|
|
# For more details on how to configure your build environment visit
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
org.gradle.jvmargs=-Xmx1536m
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
# org.gradle.parallel=true
|
|
|
|
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
# Android operating system, and which are packaged with your app's APK
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
android.useAndroidX=true
|