forked from WikiDeck/wikideck
- Capacitor deps (core, cli, android, ios, app, browser); additive lockfile
regenerated with npm 11 (node:24) so libc fields are kept.
- capacitor.config.ts: webDir dist, CapacitorHttp on (native fetch: no CORS,
no WebView Origin header for the node's POST origin check), cleartext for
the LAN testnet, edge-to-edge margins on Android 15.
- android/: generated project + SSO deep link (dev.eom.wikideck:), cleartext,
adjustResize for the keyboard; build-debug.sh builds against the testnet.
- src/native.ts: isNativeApp(), VITE_NODE_URL (default testnet node) applied to
relative /api and /auth fetches, sets WIKIDECK_NODE_URL for src/auth, fixes
the interceptor's merged content-length header, back button closes dialogs
first, onDeepLink() for the SSO redirect. No-op on the web.
- App.tsx: one import + hidden={isNativeApp()} on the mining panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
497 B
Groovy
16 lines
497 B
Groovy
ext {
|
|
minSdkVersion = 23
|
|
compileSdkVersion = 35
|
|
targetSdkVersion = 35
|
|
androidxActivityVersion = '1.9.2'
|
|
androidxAppCompatVersion = '1.7.0'
|
|
androidxCoordinatorLayoutVersion = '1.2.0'
|
|
androidxCoreVersion = '1.15.0'
|
|
androidxFragmentVersion = '1.8.4'
|
|
coreSplashScreenVersion = '1.0.1'
|
|
androidxWebkitVersion = '1.12.1'
|
|
junitVersion = '4.13.2'
|
|
androidxJunitVersion = '1.2.1'
|
|
androidxEspressoCoreVersion = '3.6.1'
|
|
cordovaAndroidVersion = '10.1.1'
|
|
} |