2024-01-05 11:11:15 +08:00
|
|
|
{
|
|
|
|
|
"module": {
|
|
|
|
|
"name": "entry",
|
|
|
|
|
"type": "entry",
|
|
|
|
|
"description": "$string:module_desc",
|
|
|
|
|
"mainElement": "EntryAbility",
|
|
|
|
|
"deviceTypes": [
|
|
|
|
|
"default",
|
|
|
|
|
"tablet"
|
|
|
|
|
],
|
|
|
|
|
"deliveryWithInstall": true,
|
|
|
|
|
"installationFree": false,
|
|
|
|
|
"pages": "$profile:main_pages",
|
|
|
|
|
"abilities": [
|
|
|
|
|
{
|
|
|
|
|
"name": "EntryAbility",
|
|
|
|
|
"srcEntrance": "./ets/entryability/EntryAbility.ts",
|
|
|
|
|
"description": "$string:EntryAbility_desc",
|
|
|
|
|
"icon": "$media:icon",
|
|
|
|
|
"label": "$string:EntryAbility_label",
|
|
|
|
|
"startWindowIcon": "$media:icon",
|
|
|
|
|
"startWindowBackground": "$color:start_window_background",
|
|
|
|
|
"visible": true,
|
|
|
|
|
"skills": [
|
|
|
|
|
{
|
|
|
|
|
"entities": [
|
|
|
|
|
"entity.system.home"
|
|
|
|
|
],
|
|
|
|
|
"actions": [
|
|
|
|
|
"action.system.home"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2024-02-21 13:15:42 +08:00
|
|
|
"requestPermissions": [
|
2024-01-05 11:11:15 +08:00
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.INTERNET"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.CAMERA",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.GET_WIFI_INFO"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.GET_NETWORK_INFO",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.SET_NETWORK_INFO",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.CONNECTIVITY_INTERNAL",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.REBOOT",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.MICROPHONE"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.MEDIA_LOCATION"
|
|
|
|
|
},
|
2024-02-21 13:15:42 +08:00
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.WRITE_MEDIA"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.READ_MEDIA"
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// "name": "ohos.permission.READ_MEDIA",
|
|
|
|
|
// "reason": "$string:module_desc",
|
|
|
|
|
// "usedScene": {
|
|
|
|
|
// "abilities": [
|
|
|
|
|
// "MainAbility"
|
|
|
|
|
// ],
|
|
|
|
|
// "when": "always"
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// "name": "ohos.permission.WRITE_MEDIA",
|
|
|
|
|
// "reason": "$string:module_desc",
|
|
|
|
|
// "usedScene": {
|
|
|
|
|
// "abilities": [
|
|
|
|
|
// "MainAbility"
|
|
|
|
|
// ],
|
|
|
|
|
// "when": "always"
|
|
|
|
|
// }
|
|
|
|
|
// },
|
2024-01-05 11:11:15 +08:00
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.FILE_ACCESS_MANAGER",
|
|
|
|
|
"reason": "$string:module_desc",
|
|
|
|
|
"usedScene": {
|
|
|
|
|
"abilities": [
|
|
|
|
|
"MainAbility"
|
|
|
|
|
],
|
|
|
|
|
"when": "always"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
|
|
|
|
|
"reason": "$string:module_desc",
|
|
|
|
|
"usedScene": {
|
|
|
|
|
"abilities": [
|
|
|
|
|
"MainAbility"
|
|
|
|
|
],
|
|
|
|
|
"when": "always"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|