/* * Copyright 2023 Unionman Technology Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ { "app": { "bundleName": "com.ohos.myapplication", "vendor": "example", "version": { "code": 1000000, "name": "1.0.0" } }, "deviceConfig": {}, "module": { "package": "com.example.entry", "name": ".entry", "mainAbility": ".MainAbility", "deviceType": [ "default", "tablet" ], "distro": { "deliveryWithInstall": true, "moduleName": "entry", "moduleType": "entry", "installationFree": false }, "abilities": [ { "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ], "orientation": "unspecified", "formsEnabled": false, "name": ".MainAbility", "srcLanguage": "ets", "srcPath": "MainAbility", "icon": "$media:icon", "description": "$string:MainAbility_desc", "label": "$string:MainAbility_label", "type": "page", "visible": true, "launchType": "standard" } ], "js": [ { "mode": { "syntax": "ets", "type": "pageAbility" }, "pages": [ "pages/index" ], "name": ".MainAbility", "window": { "designWidth": 720, "autoDesignWidth": false } } ], "reqPermissions": [ { "name" : "ohos.permission.INTERNET", "reason": "$string:reason", "usedScene": { "ability": [ "MainAbility" ] } } ] } }