npx cap add android, plus the SQLite and Keyboard plugins and android:windowSoftInputMode="adjustResize" so the on-screen 한글 keyboard is not covered by the system one. npx cap sync copies dist/ — including the dictionary band files — into the APK's assets, so the phone build is as offline as the web one. Build output is gitignored; the project itself is committed. No APK has been built: this machine has no Android SDK, so sqlite.native.ts has never executed. test/db/conformance.ts is exported precisely so it can be pointed at openNativeDb() on a device. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
24 lines
553 B
TypeScript
24 lines
553 B
TypeScript
import type { CapacitorConfig } from "@capacitor/cli";
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: "de.hamm.hankan",
|
|
appName: "Hankan",
|
|
webDir: "dist",
|
|
// Everything ships in the bundle, so there is no server to point at.
|
|
android: {
|
|
// The on-screen 한글 keyboard sits under the input; resize rather than
|
|
// pan so it is never covered.
|
|
adjustMarginsForEdgeToEdge: "auto",
|
|
},
|
|
plugins: {
|
|
CapacitorSQLite: {
|
|
androidIsEncryption: false,
|
|
},
|
|
Keyboard: {
|
|
resize: "body",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|