da27054a9b
The <a download> and <a target="_blank"> patterns don't work in WKWebView. Add downloadTextFile() and openUrl() utilities in src/lib/downloadFile.ts that use @capacitor/filesystem and @capacitor/share on native platforms, falling back to standard browser behavior on web. Update all call sites: onboarding key download (InitialSyncGate, SignupDialog), image lightbox buttons (ImageGallery, ProfilePage). Document Capacitor compatibility constraints in AGENTS.md.
24 lines
626 B
Groovy
24 lines
626 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-local-notifications')
|
|
implementation project(':capacitor-share')
|
|
implementation project(':capacitor-status-bar')
|
|
|
|
}
|
|
|
|
|
|
if (hasProperty('postBuildExtras')) {
|
|
postBuildExtras()
|
|
}
|