e4b9cbf09d
新增 scanner.scanQrCode HostBridge 契约与二维码结果归一。 接入 Expo Camera 扫码 overlay 并保留 H5 浏览器扫码回退。 让 Tauri 白名单识别扫码 method 但不声明桌面扫码能力。 同步原生壳门禁、Expo 权限检查、方案文档和共享决策记录。
99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
{
|
|
"expo": {
|
|
"name": "Genarrative",
|
|
"slug": "genarrative-mobile-shell",
|
|
"scheme": "genarrative",
|
|
"version": "0.1.0",
|
|
"orientation": "default",
|
|
"icon": "./assets/icon.png",
|
|
"userInterfaceStyle": "automatic",
|
|
"splash": {
|
|
"image": "./assets/icon.png",
|
|
"resizeMode": "contain",
|
|
"backgroundColor": "#fffdf9"
|
|
},
|
|
"assetBundlePatterns": [
|
|
"**/*"
|
|
],
|
|
"updates": {
|
|
"enabled": false
|
|
},
|
|
"plugins": [
|
|
[
|
|
"expo-camera",
|
|
{
|
|
"cameraPermission": "允许 Genarrative 使用相机扫描二维码。"
|
|
}
|
|
],
|
|
[
|
|
"expo-image-picker",
|
|
{
|
|
"photosPermission": "允许 Genarrative 读取你选择的图片,用于导入创作素材和参考图。",
|
|
"cameraPermission": "允许 Genarrative 使用相机拍摄创作素材和参考图。",
|
|
"microphonePermission": false
|
|
}
|
|
],
|
|
[
|
|
"expo-notifications",
|
|
{
|
|
"enableBackgroundRemoteNotifications": false
|
|
}
|
|
]
|
|
],
|
|
"ios": {
|
|
"bundleIdentifier": "world.genarrative.mobile",
|
|
"buildNumber": "1",
|
|
"supportsTablet": true,
|
|
"infoPlist": {
|
|
"ITSAppUsesNonExemptEncryption": false,
|
|
"NSAppTransportSecurity": {
|
|
"NSAllowsArbitraryLoads": false
|
|
}
|
|
},
|
|
"associatedDomains": [
|
|
"applinks:app.genarrative.world"
|
|
]
|
|
},
|
|
"android": {
|
|
"package": "world.genarrative.mobile",
|
|
"versionCode": 1,
|
|
"usesCleartextTraffic": false,
|
|
"allowBackup": false,
|
|
"softwareKeyboardLayoutMode": "resize",
|
|
"blockedPermissions": [
|
|
"android.permission.MANAGE_EXTERNAL_STORAGE",
|
|
"android.permission.READ_EXTERNAL_STORAGE",
|
|
"android.permission.RECORD_AUDIO",
|
|
"android.permission.RECEIVE_BOOT_COMPLETED",
|
|
"android.permission.REQUEST_INSTALL_PACKAGES",
|
|
"android.permission.SCHEDULE_EXACT_ALARM",
|
|
"android.permission.USE_EXACT_ALARM",
|
|
"android.permission.WRITE_EXTERNAL_STORAGE"
|
|
],
|
|
"adaptiveIcon": {
|
|
"foregroundImage": "./assets/icon.png",
|
|
"backgroundColor": "#fffdf9"
|
|
},
|
|
"intentFilters": [
|
|
{
|
|
"action": "VIEW",
|
|
"autoVerify": true,
|
|
"data": [
|
|
{
|
|
"scheme": "https",
|
|
"host": "app.genarrative.world"
|
|
}
|
|
],
|
|
"category": [
|
|
"BROWSABLE",
|
|
"DEFAULT"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"extra": {
|
|
"genarrativeHostBridgeVersion": 1
|
|
}
|
|
}
|
|
}
|