用途:当需要为 Tauri 应用构建 Android 或 iOS 版本、在设备或模拟器上运行调试、配置 bundle identifier(bundle ID)时使用该技能。触发词包括 mobile、android、ios、bundle id、mobile debug、emulator。
主要能力与用法:初始化移动端支持可执行 npm run tauri android init 与 npm run tauri ios init;在 tauri.conf.json 中配置标识符,如 { "identifier": "com.example.myapp" };运行 Android 模拟器或设备使用 npm run tauri android dev,运行 iOS 模拟器使用 npm run tauri ios dev。移动端调试方面,Android WebView 使用 Chrome DevTools,iOS 使用 Safari Web Inspector。同时需处理响应式 UI,跨不同屏幕尺寸与方向进行测试。
限制与前提:Android 需安装带 NDK 的 Android Studio,iOS 需安装 Xcode。收费、价格、平台支持范围及其他功能细节资料暂未提供。