ff438e8897
移动壳 WebView 注入下载阻断脚本并丢弃 iOS 文件下载事件。 移动壳 Android 包配置阻断外部存储和请求安装包权限。 移动壳配置检查和 Expo public config smoke 锁定下载边界。 新增移动壳 WebView 下载阻断策略测试。 更新宿主壳方案和共享决策日志记录移动端下载只能走 HostBridge 导出。
93 lines
2.4 KiB
JSON
93 lines
2.4 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-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
|
|
}
|
|
}
|
|
}
|