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>
16 lines
No EOL
498 B
Groovy
16 lines
No EOL
498 B
Groovy
ext {
|
|
minSdkVersion = 24
|
|
compileSdkVersion = 36
|
|
targetSdkVersion = 36
|
|
androidxActivityVersion = '1.11.0'
|
|
androidxAppCompatVersion = '1.7.1'
|
|
androidxCoordinatorLayoutVersion = '1.3.0'
|
|
androidxCoreVersion = '1.17.0'
|
|
androidxFragmentVersion = '1.8.9'
|
|
coreSplashScreenVersion = '1.2.0'
|
|
androidxWebkitVersion = '1.14.0'
|
|
junitVersion = '4.13.2'
|
|
androidxJunitVersion = '1.3.0'
|
|
androidxEspressoCoreVersion = '3.7.0'
|
|
cordovaAndroidVersion = '14.0.1'
|
|
} |