- Add Capacitor core, CLI, and Android platform - Install plugins: camera, push-notifications, splash-screen, status-bar - Configure capacitor.config.ts with app ID run.runfoo.veridian - Update vite.config.ts with base: './' for Capacitor compatibility - Update api.ts and SessionTimeoutWarning.tsx to detect Capacitor and use production API URL - Generate Android project structure with Gradle build files
22 lines
584 B
Groovy
22 lines
584 B
Groovy
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
|
|
android {
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_21
|
|
targetCompatibility JavaVersion.VERSION_21
|
|
}
|
|
}
|
|
|
|
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
dependencies {
|
|
implementation project(':capacitor-camera')
|
|
implementation project(':capacitor-push-notifications')
|
|
implementation project(':capacitor-splash-screen')
|
|
implementation project(':capacitor-status-bar')
|
|
|
|
}
|
|
|
|
|
|
if (hasProperty('postBuildExtras')) {
|
|
postBuildExtras()
|
|
}
|