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;