feat: 新增多模块后端管理、数据同步工具与鸿蒙路由适配
本次提交新增了以下核心内容: 1. 后端管理模块:包含字体同步、插件元数据、插件用户设置、稍后读消息/共享列表的控制器、模型、验证器与多语言配置 2. Flutter数据同步模块:统一的事件总线与兼容层,替代分散的StreamController 3. 鸿蒙端路由适配:完整的路由定义、构建器与占位组件 4. 后端API接口:字体同步与插件更新的服务端API,支持自动建表与跨域请求 5. 鸿蒙权限校验脚本:用于校验module.json5与string.json的权限声明一致性
This commit is contained in:
@@ -46,36 +46,6 @@
|
||||
"ohos.want.action.sendMultipleData"
|
||||
]
|
||||
}
|
||||
],
|
||||
"shortcuts": [
|
||||
{
|
||||
"shortcutId": "action_theme",
|
||||
"label": "$string:shortcut_theme_label",
|
||||
"icon": "$media:icon",
|
||||
"wants": [
|
||||
{
|
||||
"bundleName": "apps.xy.xianyan",
|
||||
"abilityName": "EntryAbility",
|
||||
"parameters": {
|
||||
"shortcutType": "action_theme"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"shortcutId": "action_general_settings",
|
||||
"label": "$string:shortcut_general_settings_label",
|
||||
"icon": "$media:icon",
|
||||
"wants": [
|
||||
{
|
||||
"bundleName": "apps.xy.xianyan",
|
||||
"abilityName": "EntryAbility",
|
||||
"parameters": {
|
||||
"shortcutType": "action_general_settings"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -202,22 +172,6 @@
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.GET_WIFI_INFO",
|
||||
"reason": "$string:permission_wifi_info_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.SET_WIFI_INFO",
|
||||
"reason": "$string:permission_wifi_info_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.VIBRATE",
|
||||
"reason": "$string:permission_vibrate_reason",
|
||||
@@ -266,22 +220,6 @@
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.NFC_TAG",
|
||||
"reason": "$string:permission_nfc_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.GET_BUNDLE_INFO",
|
||||
"reason": "$string:permission_bundle_info_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.READ_MEDIA",
|
||||
"reason": "$string:permission_read_media_reason",
|
||||
@@ -297,30 +235,6 @@
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.FILE_ACCESS_PERSIST",
|
||||
"reason": "$string:permission_file_access_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.NOTIFICATION_AGENT_CONTROLLER",
|
||||
"reason": "$string:permission_notification_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.PASTEBOARD",
|
||||
"reason": "$string:permission_pasteboard_reason",
|
||||
"usedScene": {
|
||||
"abilities": ["EntryAbility"],
|
||||
"when": "inuse"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
"name": "permission_wifi_info_reason",
|
||||
"value": "Used to get WiFi information for nearby service and network info"
|
||||
},
|
||||
{
|
||||
"name": "permission_storage_reason",
|
||||
"value": "Used to save and read files such as images and exports"
|
||||
},
|
||||
{
|
||||
"name": "permission_file_access_reason",
|
||||
"value": "Used to access files for image picking and export"
|
||||
},
|
||||
{
|
||||
"name": "permission_storage_reason",
|
||||
"value": "Used to save and read files such as images and exports"
|
||||
},
|
||||
{
|
||||
"name": "permission_vibrate_reason",
|
||||
"value": "Used for haptic feedback during interactions"
|
||||
|
||||
Reference in New Issue
Block a user