Modernizacion completa del frontend: - Angular 8 -> 18.2.14 - Ionic 4 -> 8.7.17 - Capacitor 6.x (migracion desde Cordova/@ionic-native) - TypeScript 5.4.5 - Swiper 11 con Web Components API Cambios principales: - Migrar NativeStorage a @capacitor/preferences - Migrar InAppBrowser a @capacitor/browser - Migrar Camera a @capacitor/camera - Migrar Geolocation a @capacitor/geolocation - Migrar StatusBar/SplashScreen a Capacitor - Migrar Facebook/Google login a plugins Capacitor - Actualizar lazy loading syntax (Angular 12+) - Configurar buildOptimizer: false para Ionic 8 - Limpiar package.json de dependencias obsoletas - Agregar README con guia de instalacion Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
1.3 KiB
Groovy
Executable File
31 lines
1.3 KiB
Groovy
Executable File
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
|
|
android {
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
dependencies {
|
|
implementation project(':capacitor-app')
|
|
implementation project(':capacitor-haptics')
|
|
implementation project(':capacitor-keyboard')
|
|
implementation project(':capacitor-status-bar')
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:3.10.0"
|
|
implementation "com.android.support:support-v4:27.+"
|
|
implementation "com.facebook.android:facebook-android-sdk:5.13.0"
|
|
implementation "com.google.android.gms:play-services-auth:15.0.1"
|
|
implementation "com.google.android.gms:play-services-identity:15.0.1"
|
|
implementation "com.google.android.gms:play-services-location:16.+"
|
|
implementation "com.onesignal:OneSignal:3.16.0"
|
|
}
|
|
apply from: "../../node_modules/cordova-plugin-googlemaps/src/android/frameworks/tbxml-android.gradle"
|
|
apply from: "../../node_modules/cordova-plugin-googlemaps/src/android/frameworks/pgm-custom.gradle"
|
|
apply from: "../../node_modules/onesignal-cordova-plugin/build-extras-onesignal.gradle"
|
|
|
|
if (hasProperty('postBuildExtras')) {
|
|
postBuildExtras()
|
|
}
|