Prepare production smart scale Android app

This commit is contained in:
FinleyHsu
2026-07-28 16:44:40 +08:00
parent af50188332
commit eab3ca651a
70 changed files with 4286 additions and 459 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { CapacitorConfig } from "@capacitor/cli";
const config: CapacitorConfig = {
appId: "com.woer.smartscale",
appName: "WOER 智能称重",
webDir: "dist",
android: {
// 本地服务器可能使用 HTTP,因此允许 WebView 加载混合内容。
allowMixedContent: true,
// 输入事件交给应用内数字键盘处理,避免系统键盘遮挡界面。
captureInput: true,
},
};
export default config;