357ba7d8c8
Android 16 (API 36) enforces edge-to-edge rendering unconditionally, breaking @capacitor/status-bar's setOverlaysWebView and setBackgroundColor. Additionally, a Chromium bug (<140) causes env(safe-area-inset-*) to report 0 in some Android WebViews. - Replace @capacitor/status-bar with SystemBars from @capacitor/core 8+ - Enable insetsHandling: 'css' in capacitor.config.ts so the SystemBars plugin injects --safe-area-inset-* CSS variables on Android - Update all safe area CSS utilities and inline styles to use var(--safe-area-inset-*, env(safe-area-inset-*, 0px)) fallback pattern - Remove @capacitor/status-bar dependency (no longer needed)
26 lines
757 B
Groovy
26 lines
757 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-app')
|
|
implementation project(':capacitor-filesystem')
|
|
implementation project(':capacitor-keyboard')
|
|
implementation project(':capacitor-local-notifications')
|
|
implementation project(':capacitor-share')
|
|
implementation project(':capgo-capacitor-autofill-save-password')
|
|
implementation project(':capacitor-secure-storage-plugin')
|
|
|
|
}
|
|
|
|
|
|
if (hasProperty('postBuildExtras')) {
|
|
postBuildExtras()
|
|
}
|