mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
e706ca3c2f
2、Fix the white screen displayed at startup 3、Fix the webview crashing when switching scenes
70 lines
1.6 KiB
Plaintext
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"
|
|
}
|
|
]
|
|
}
|
|
} |