Some checks are pending
Build Android (APK + AAB) / build-android (push) Waiting to run
Reskin completo baseado em pesquisa de Navionics/Windy/PredictWind/Garmin ActiveCaptain. Mata o feel "magazine editorial vintage" e adota padrões mobile-app modernos. Mudanças visuais (CSS overlay v3 sem alterar HTML/JS de business): - Paleta dark navy (#0d2538) + cyan accent (#06b6d4) + reservado red pra alarme - Inter (sans-serif) substitui Fraunces (italic editorial) - Tabular nums em todas as métricas (lat/lon/depth/speed) - Cards modernos: border-radius 14px + shadows sutis + bg dark - Header 50% mais compacto (sem compass mark, avatar maior + accent cyan) - FAB reposicionado acima da bottom nav, gradient cyan - Modais: bottom sheet no mobile com top corners rounded - Form fields dark com focus glow cyan - Buttons com border-radius modernos, primary = cyan filled Novos componentes: - Bottom navigation: 5 tabs com line icons (Início/Travessias/Pendências/ Zonas/Mais), backdrop-filter blur, badge vermelho em pendências overdue - Safety status bar (sticky abaixo do header): GPS dot + Anchor watch + Bateria. Pulsa amarelo se warn, vermelho se danger - switchPanel() unifica top tabs (legacy) + bottom nav Service worker bumped pra invalidar cache antigo automaticamente. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
63 lines
2.4 KiB
Groovy
63 lines
2.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace "br.com.pontualtech.shivao"
|
|
compileSdk rootProject.ext.compileSdkVersion
|
|
defaultConfig {
|
|
applicationId "br.com.pontualtech.shivao"
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
versionCode 10
|
|
versionName "1.7.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
aaptOptions {
|
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
|
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
|
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
}
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
storeFile file('shivao-release.keystore')
|
|
storePassword 'ShivaoKeystore2026!'
|
|
keyAlias 'shivao'
|
|
keyPassword 'ShivaoKeystore2026!'
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
flatDir{
|
|
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"
|
|
implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion"
|
|
implementation project(':capacitor-android')
|
|
testImplementation "junit:junit:$junitVersion"
|
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
implementation project(':capacitor-cordova-android-plugins')
|
|
}
|
|
|
|
apply from: 'capacitor.build.gradle'
|
|
|
|
try {
|
|
def servicesJSON = file('google-services.json')
|
|
if (servicesJSON.text) {
|
|
apply plugin: 'com.google.gms.google-services'
|
|
}
|
|
} catch(Exception e) {
|
|
logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
|
|
}
|