Génère la structure Capacitor Android (gradle + manifest + activity Java/Kotlin)
avec applicationId 'ch.hypnotruck.coach' (cohérent avec iOS), minSdk 24, target 36.
8 plugins synchronisés au passage (déjà déclarés dans package.json) :
@capacitor/{app,geolocation,haptics,local-notifications,push-notifications,
splash-screen,status-bar} et @capgo/capacitor-health.
Build APK toujours bloqué côté infra (Android SDK non installé sur cette machine,
+ attente validation Play Console pour signing/upload). Mais la structure est
prête : `cap sync` après modification du web puis `./gradlew assembleDebug`
sur une machine avec Android SDK.
Étape suivante : configurer permissions Health Connect dans AndroidManifest +
sync iOS pour cohérence cross-platform.
16 lines
498 B
Groovy
16 lines
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'
|
|
} |