Files
cocos4/templates/openharmony/entry/src/main/module.json5
T
qiuguohua e706ca3c2f 1、Fix the audio switch to the background can not play the problem (#14997)
2、Fix the white screen displayed at startup
3、Fix the webview crashing when switching scenes
2023-05-08 17:43:13 +08:00

70 lines
1.6 KiB
Plaintext

{
"module": {
"name": "entry",
"type": "entry",
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"uiSyntax": "ets",
"abilities": [
{
"name": "MainAbility",
"srcEntrance": "./ets/MainAbility/MainAbility.ts",
"description": "$string:MainAbility_desc",
"orientation": "portrait",
"icon": "$media:icon",
"label": "$string:MainAbility_label",
"startWindowIcon": "$media:icon",
"startWindowBackground": "$color:black",
"visible": true,
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
]
}
],
"requestPermissions": [
{
"name": 'ohos.permission.INTERNET'
},
{
"name": "ohos.permission.ACCELEROMETER",
"reason": "$string:permissions_label",
"usedScene": {
"abilities": [
"MainAbility"
],
"when": "inuse"
}
},
{
"name": "ohos.permission.GYROSCOPE",
"reason": "$string:permissions_label",
"usedScene": {
"abilities": [
"MainAbility"
],
"when": "inuse"
}
}
],
"metadata": [
{
"name": "ArkTSPartialUpdate",
"value": "true"
}
]
}
}