未验证 提交 dd6d1176 编写于 作者: J jiyong 提交者: Gitee

回退 'Pull Request !9361 : 新增2in1设备类型-build-communication'

上级 aa830d9b
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -7,21 +7,20 @@ ...@@ -7,21 +7,20 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"dependencies": [ "dependencies":[
{ {
"moduleName": "feature" "moduleName":"feature"
} }
], ],
"atomicService": { "atomicService":{
"preloads": [ "preloads":[
{ {
"moduleName": "feature" "moduleName":"feature"
}, },
{ {
"moduleName": "shared" "moduleName":"shared"
} }
] ]
}, },
...@@ -44,7 +43,7 @@ ...@@ -44,7 +43,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities": [ "entities":[
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -372,33 +371,29 @@ ...@@ -372,33 +371,29 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": [ "abilities": ["MainAbility"],
"MainAbility" "when": "always"
], }
"when": "always" },
} {
}, "name": "ohos.permission.READ_CALENDAR",
{ "reason": "$string:permission_reason",
"name": "ohos.permission.READ_CALENDAR", "usedScene": {
"reason": "$string:permission_reason", "abilities": ["MainAbility"],
"usedScene": { "when": "inuse"
"abilities": [
"MainAbility"
],
"when": "inuse"
}
} }
}
], ],
"metadata": [ "metadata": [
{ {
"name": "MetaData1", "name": "MetaData1",
"value": "MetaDataValue", "value": "MetaDataValue",
"resource": "$profile:shortcuts_config" "resource": "$profile:shortcuts_config"
} }
] ]
} }
} }
\ No newline at end of file
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": true, "installationFree": true,
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities": [ "entities":[
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -37,4 +36,4 @@ ...@@ -37,4 +36,4 @@
} }
] ]
} }
} }
\ No newline at end of file
...@@ -7,12 +7,11 @@ ...@@ -7,12 +7,11 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": true, "installationFree": true,
"uiSyntax": "ets", "uiSyntax": "ets",
"pages": "$profile:main_pages" "pages": "$profile:main_pages"
} }
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.actsbmsetsunpermissiontest", "bundleName": "com.example.actsbmsetsunpermissiontest",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1000000, "code": 1000000,
"name": "1.0.0" "name": "1.0.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"releaseType": "Release", "releaseType": "Release",
"target": 8 "target": 8
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.actsbmsetsunpermissiontest", "package": "com.example.actsbmsetsunpermissiontest",
"name": ".MyApplication", "name": ".MyApplication",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry",
"moduleType": "entry", "installationFree": false
"installationFree": false },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "orientation": "unspecified",
"orientation": "unspecified", "visible": true,
"visible": true, "srcPath": "MainAbility",
"srcPath": "MainAbility", "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:description_mainability",
"description": "$string:description_mainability", "formsEnabled": false,
"formsEnabled": false, "label": "$string:entry_MainAbility",
"label": "$string:entry_MainAbility", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "visible": true,
"visible": true, "srcPath": "TestAbility",
"srcPath": "TestAbility", "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "formsEnabled": false,
"formsEnabled": false, "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "mode": {
"mode": { "syntax": "ets",
"syntax": "ets", "type": "pageAbility"
"type": "pageAbility" },
}, "pages": [
"pages": [ "pages/index"
"pages/index" ],
], "name": ".MainAbility",
"name": ".MainAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "mode": {
"mode": { "syntax": "ets",
"syntax": "ets", "type": "pageAbility"
"type": "pageAbility" },
}, "pages": [
"pages": [ "pages/index"
"pages/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.actsbmsgetinfostest", "bundleName": "com.example.actsbmsgetinfostest",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"target": 8, "target": 8,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.actsbmsgetinfostest", "package": "com.example.actsbmsgetinfostest",
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:MainAbility_desc",
"description": "$string:MainAbility_desc", "label": "$string:MainAbility_label",
"label": "$string:MainAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "TestAbility",
"srcPath": "TestAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "reqPermissions": [
"reqPermissions": [ {
{ "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" },
}, {
{ "name": "ohos.permission.GET_BUNDLE_INFO",
"name": "ohos.permission.GET_BUNDLE_INFO", "reason": "need use ohos.permission.GET_BUNDLE_INFO"
"reason": "need use ohos.permission.GET_BUNDLE_INFO" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "testRunner": {
"testRunner": { "name": "OpenHarmonyTestRunner",
"name": "OpenHarmonyTestRunner", "srcPath": "TestRunner"
"srcPath": "TestRunner" },
}, "mainAbility": ".MainAbility",
"mainAbility": ".MainAbility", "srcPath": ""
"srcPath": "" }
}
} }
\ No newline at end of file
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
{ {
"app": { "app": {
"bundleName": "com.example.actsbmsjstest", "bundleName": "com.example.actsbmsjstest",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"target": 8, "target": 8,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.actsbmsjstest", "package": "com.example.actsbmsjstest",
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:MainAbility_desc",
"description": "$string:MainAbility_desc", "label": "$string:MainAbility_label",
"label": "$string:MainAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "TestAbility",
"srcPath": "TestAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "reqPermissions": [
"reqPermissions": [ {
{ "name": "ohos.permission.GET_BUNDLE_INFO",
"name": "ohos.permission.GET_BUNDLE_INFO", "reason": "need use ohos.permission.GET_BUNDLE_INFO"
"reason": "need use ohos.permission.GET_BUNDLE_INFO" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "testRunner": {
"testRunner": { "name": "OpenHarmonyTestRunner",
"name": "OpenHarmonyTestRunner", "srcPath": "TestRunner"
"srcPath": "TestRunner" },
}, "mainAbility": ".MainAbility",
"mainAbility": ".MainAbility", "srcPath": ""
"srcPath": "" }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.actsbmsjsunpermissiontest", "bundleName": "com.example.actsbmsjsunpermissiontest",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"target": 8, "target": 8,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.actsbmsjsunpermissiontest", "package": "com.example.actsbmsjsunpermissiontest",
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:MainAbility_desc",
"description": "$string:MainAbility_desc", "label": "$string:MainAbility_label",
"label": "$string:MainAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "TestAbility",
"srcPath": "TestAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "testRunner": {
"testRunner": { "name": "OpenHarmonyTestRunner",
"name": "OpenHarmonyTestRunner", "srcPath": "TestRunner"
"srcPath": "TestRunner" },
}, "mainAbility": ".MainAbility",
"mainAbility": ".MainAbility", "srcPath": ""
"srcPath": "" }
}
} }
\ No newline at end of file
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
{ {
"app": { "app": {
"bundleName": "com.open.harmony.packagemag", "bundleName": "com.open.harmony.packagemag",
"vendor": "ohos", "vendor": "ohos",
"version": { "version": {
"code": 1000000, "code": 1000000,
"name": "1.0.0" "name": "1.0.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"releaseType": "Release", "releaseType": "Release",
"target": 8 "target": 8
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.open.harmony.packagemag", "package": "com.open.harmony.packagemag",
"name": ".MyApplication", "name": ".MyApplication",
"srcPath": "", "srcPath": "",
"mainAbility": "com.open.harmony.packagemag.MainAbility", "mainAbility": "com.open.harmony.packagemag.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "reqPermissions": [
"reqPermissions": [ {
{ "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" },
}, {
{ "name": "ohos.permission.GET_BUNDLE_INFO"
"name": "ohos.permission.GET_BUNDLE_INFO" },
}, {
{ "name": "ohos.permission.USE_BLUETOOTH"
"name": "ohos.permission.USE_BLUETOOTH" }
} ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry",
"moduleType": "entry", "installationFree": false
"installationFree": false },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "visible": true,
"visible": true, "orientation": "unspecified",
"orientation": "unspecified", "srcPath": "MainAbility",
"srcPath": "MainAbility", "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "formsEnabled": false,
"formsEnabled": false, "label": "$string:entry_MainAbility",
"label": "$string:entry_MainAbility", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "visible": true,
"visible": true, "srcPath": "TestAbility",
"srcPath": "TestAbility", "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "formsEnabled": false,
"formsEnabled": false, "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" },
}, {
{ "srcPath": "ServiceAbility",
"srcPath": "ServiceAbility", "name": ".ServiceAbility",
"name": ".ServiceAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "description": "$string:description_serviceability",
"description": "$string:description_serviceability", "type": "service"
"type": "service" },
}, {
{ "name": ".DataAbility",
"name": ".DataAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:DataAbility_desc",
"description": "$string:DataAbility_desc", "type": "data",
"type": "data", "uri": "dataability://com.open.harmony.packagemag.DataAbility"
"uri": "dataability://com.open.harmony.packagemag.DataAbility" },
}, {
{ "orientation": "followRecent",
"orientation": "followRecent", "formsEnabled": false,
"formsEnabled": false, "name": ".FollowRecentAbility",
"name": ".FollowRecentAbility", "srcLanguage": "ets",
"srcLanguage": "ets", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:PageAbility1_desc",
"description": "$string:PageAbility1_desc", "label": "$string:PageAbility1_label",
"label": "$string:PageAbility1_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "mode": {
"mode": { "syntax": "ets",
"syntax": "ets", "type": "pageAbility"
"type": "pageAbility" },
}, "pages": [
"pages": [ "pages/index",
"pages/index", "pages/second"
"pages/second" ],
], "name": ".MainAbility",
"name": ".MainAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "mode": {
"mode": { "syntax": "ets",
"syntax": "ets", "type": "pageAbility"
"type": "pageAbility" },
}, "pages": [
"pages": [ "pages/index"
"pages/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "description":"$string:entry_description"
"description": "$string:entry_description" }
} }
}
\ No newline at end of file
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"mainElement": "ohos.acts.bundle.overlay.test.MainAbility", "mainElement": "ohos.acts.bundle.overlay.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities": [ "entities":[
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -357,33 +356,29 @@ ...@@ -357,33 +356,29 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": [ "abilities": ["MainAbility"],
"MainAbility" "when": "always"
],
"when": "always"
}
},
{
"name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason",
"usedScene": {
"abilities": [
"MainAbility"
],
"when": "inuse"
}
} }
},
{
"name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason",
"usedScene": {
"abilities": ["MainAbility"],
"when": "inuse"
}
}
], ],
"metadata": [ "metadata": [
{ {
"name": "MetaData1", "name": "MetaData1",
"value": "MetaDataValue", "value": "MetaDataValue",
"resource": "$profile:shortcuts_config" "resource": "$profile:shortcuts_config"
} }
] ]
} }
} }
\ No newline at end of file
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"mainElement": "ohos.acts.bundle.stage.test.MainAbility", "mainElement": "ohos.acts.bundle.stage.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities": [ "entities":[
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -379,33 +378,29 @@ ...@@ -379,33 +378,29 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": [ "abilities": ["MainAbility"],
"MainAbility" "when": "always"
],
"when": "always"
}
},
{
"name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason",
"usedScene": {
"abilities": [
"MainAbility"
],
"when": "inuse"
}
} }
},
{
"name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason",
"usedScene": {
"abilities": ["MainAbility"],
"when": "inuse"
}
}
], ],
"metadata": [ "metadata": [
{ {
"name": "MetaData1", "name": "MetaData1",
"value": "MetaDataValue", "value": "MetaDataValue",
"resource": "$profile:shortcuts_config" "resource": "$profile:shortcuts_config"
} }
] ]
} }
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.actsbundlemanagertest", "bundleName": "com.example.actsbundlemanagertest",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"target": 8, "target": 8,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.actsbundlemanagertest", "package": "com.example.actsbundlemanagertest",
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "MainAbility",
"srcPath": "MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:MainAbility_desc",
"description": "$string:MainAbility_desc", "label": "$string:MainAbility_label",
"label": "$string:MainAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" },
}, {
{ "orientation": "unspecified",
"orientation": "unspecified", "formsEnabled": false,
"formsEnabled": false, "name": ".TestAbility",
"name": ".TestAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "TestAbility",
"srcPath": "TestAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:TestAbility_desc",
"description": "$string:TestAbility_desc", "label": "$string:TestAbility_label",
"label": "$string:TestAbility_label", "type": "page",
"type": "page", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "defPermissions": [
"defPermissions": [ {
{ "name": "com.permission.CAMERA",
"name": "com.permission.CAMERA", "grantMode": "system_grant",
"grantMode": "system_grant", "availableScope": [
"availableScope": [ "signature"
"signature" ],
], "label": "CAMERA permission",
"label": "CAMERA permission", "description": "CAMERA permission in detail"
"description": "CAMERA permission in detail" },
}, {
{ "name": "com.permission.music",
"name": "com.permission.music", "grantMode": "system_grant",
"grantMode": "system_grant", "availableScope": [
"availableScope": [ "signature"
"signature" ],
], "label": "music permission",
"label": "music permission", "description": "music permission in detail"
"description": "music permission in detail" },
}, {
{ "name": "com.permission.WeChat",
"name": "com.permission.WeChat", "grantMode": "system_grant",
"grantMode": "system_grant", "availableScope": [
"availableScope": [ "signature"
"signature" ],
], "label": "WeChat permission",
"label": "WeChat permission", "description": "WeChat permission in detail"
"description": "WeChat permission in detail" }
} ],
], "reqPermissions": [
"reqPermissions": [ {
{ "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" },
}, {
{ "name": "ohos.permission.GET_BUNDLE_INFO",
"name": "ohos.permission.GET_BUNDLE_INFO", "reason": "need use ohos.permission.GET_BUNDLE_INFO"
"reason": "need use ohos.permission.GET_BUNDLE_INFO" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": ".TestAbility",
"name": ".TestAbility", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "testRunner": {
"testRunner": { "name": "OpenHarmonyTestRunner",
"name": "OpenHarmonyTestRunner", "srcPath": "TestRunner"
"srcPath": "TestRunner" },
}, "mainAbility": ".MainAbility",
"mainAbility": ".MainAbility", "srcPath": ""
"srcPath": "" }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.actsbundle.napitest", "bundleName": "com.actsbundle.napitest",
"vendor": "open", "vendor": "open",
"version": { "version": {
"code": 1000000, "code": 1000000,
"name": "1.0.0" "name": "1.0.0"
},
"apiVersion": {
"compatible": 9,
"releaseType": "Release",
"target": 9
}
}, },
"deviceConfig": {}, "apiVersion": {
"module": { "compatible": 9,
"package": "com.actsbundle.napitest", "releaseType": "Release",
"name": ".MyApplication", "target": 9
"mainAbility": "com.actsbundle.napitest.MainAbility", }
"deviceType": [ },
"default", "deviceConfig": {},
"tablet", "module": {
"2in1" "package": "com.actsbundle.napitest",
"name": ".MyApplication",
"mainAbility": "com.actsbundle.napitest.MainAbility",
"deviceType": [
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleType": "entry",
"installationFree": false
},
"abilities": [
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
], ],
"distro": { "orientation": "unspecified",
"deliveryWithInstall": true, "visible": true,
"moduleName": "entry", "srcPath": "MainAbility",
"moduleType": "entry", "name": ".MainAbility",
"installationFree": false "srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
},
{
"orientation": "unspecified",
"visible": true,
"srcPath": "TestAbility",
"name": ".TestAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:TestAbility_desc",
"formsEnabled": false,
"label": "$string:TestAbility_label",
"type": "page",
"launchType": "standard"
}
],
"js": [
{
"mode": {
"syntax": "ets",
"type": "pageAbility"
}, },
"abilities": [ "pages": [
{ "pages/index"
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"orientation": "unspecified",
"visible": true,
"srcPath": "MainAbility",
"name": ".MainAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
},
{
"orientation": "unspecified",
"visible": true,
"srcPath": "TestAbility",
"name": ".TestAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:TestAbility_desc",
"formsEnabled": false,
"label": "$string:TestAbility_label",
"type": "page",
"launchType": "standard"
}
], ],
"js": [ "name": ".MainAbility",
{ "window": {
"mode": { "designWidth": 720,
"syntax": "ets", "autoDesignWidth": false
"type": "pageAbility" }
}, },
"pages": [ {
"pages/index" "mode": {
], "syntax": "ets",
"name": ".MainAbility", "type": "pageAbility"
"window": { },
"designWidth": 720, "pages": [
"autoDesignWidth": false "pages/index"
} ],
}, "name": ".TestAbility",
{ "window": {
"mode": { "designWidth": 720,
"syntax": "ets", "autoDesignWidth": false
"type": "pageAbility" }
}, }
"pages": [ ]
"pages/index" }
],
"name": ".TestAbility",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.actsbundle.napitest", "bundleName": "com.actsbundle.napitest",
"vendor": "open", "vendor": "open",
"version": { "version": {
"code": 1000000, "code": 1000000,
"name": "1.0.0" "name": "1.0.0"
},
"apiVersion": {
"compatible": 7,
"releaseType": "Release",
"target": 8
}
}, },
"deviceConfig": {}, "apiVersion": {
"module": { "compatible": 7,
"package": "com.actsbundle.napitest", "releaseType": "Release",
"name": ".MyApplication", "target": 8
"mainAbility": "com.actsbundle.napitest.MainAbility", }
"deviceType": [ },
"default", "deviceConfig": {},
"tablet", "module": {
"2in1" "package": "com.actsbundle.napitest",
"name": ".MyApplication",
"mainAbility": "com.actsbundle.napitest.MainAbility",
"deviceType": [
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleType": "entry",
"installationFree": false
},
"abilities": [
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
], ],
"distro": { "orientation": "unspecified",
"deliveryWithInstall": true, "visible": true,
"moduleName": "entry", "srcPath": "MainAbility",
"moduleType": "entry", "name": ".MainAbility",
"installationFree": false "srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
},
{
"orientation": "unspecified",
"visible": true,
"srcPath": "TestAbility",
"name": ".TestAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:TestAbility_desc",
"formsEnabled": false,
"label": "$string:TestAbility_label",
"type": "page",
"launchType": "standard"
}
],
"js": [
{
"mode": {
"syntax": "ets",
"type": "pageAbility"
}, },
"abilities": [ "pages": [
{ "pages/index"
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"orientation": "unspecified",
"visible": true,
"srcPath": "MainAbility",
"name": ".MainAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
},
{
"orientation": "unspecified",
"visible": true,
"srcPath": "TestAbility",
"name": ".TestAbility",
"srcLanguage": "ets",
"icon": "$media:icon",
"description": "$string:TestAbility_desc",
"formsEnabled": false,
"label": "$string:TestAbility_label",
"type": "page",
"launchType": "standard"
}
], ],
"js": [ "name": ".MainAbility",
{ "window": {
"mode": { "designWidth": 720,
"syntax": "ets", "autoDesignWidth": false
"type": "pageAbility" }
}, },
"pages": [ {
"pages/index" "mode": {
], "syntax": "ets",
"name": ".MainAbility", "type": "pageAbility"
"window": { },
"designWidth": 720, "pages": [
"autoDesignWidth": false "pages/index"
} ],
}, "name": ".TestAbility",
{ "window": {
"mode": { "designWidth": 720,
"syntax": "ets", "autoDesignWidth": false
"type": "pageAbility" }
}, }
"pages": [ ]
"pages/index" }
],
"name": ".TestAbility",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.bmsaccesstoken3", "bundleName": "com.example.bmsaccesstoken3",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
},
"apiVersion": {
"compatible": 5,
"target": 5,
"releaseType": "Beta1"
}
}, },
"deviceConfig": {}, "apiVersion": {
"module": { "compatible": 5,
"package": "com.example.bmsaccesstoken3", "target": 5,
"name": ".MyApplication1", "releaseType": "Beta1"
"deviceType": [ }
"default", },
"tablet", "deviceConfig": {},
"2in1" "module": {
], "package": "com.example.bmsaccesstoken3",
"distro": { "name": ".MyApplication1",
"deliveryWithInstall": true, "deviceType": [
"moduleName": "entry", "default",
"moduleType": "entry" "tablet"
}, ],
"abilities": [ "distro": {
{ "deliveryWithInstall": true,
"skills": [ "moduleName": "entry",
{ "moduleType": "entry"
"entities": [ },
"entity.system.home" "abilities": [
], {
"actions": [ "skills": [
"action.system.home" {
] "entities": [
} "entity.system.home"
], ],
"name": ".MainAbility", "actions": [
"icon": "$media:icon", "action.system.home"
"description": "$string:mainability_description", ]
"label": "$string:app_name", }
"type": "page",
"isVisible": "true",
"launchType": "standard",
"language": "C++",
"metaData": {
"customizeData": [
{
"name": "originWidgetName",
"value": "com.weather.testWidget"
}
]
}
}
], ],
"js": [ "name": ".MainAbility",
{ "icon": "$media:icon",
"pages": [ "description": "$string:mainability_description",
"pages/index/index" "label": "$string:app_name",
], "type": "page",
"name": "default", "isVisible": "true",
"window": { "launchType": "standard",
"designWidth": 720, "language": "C++",
"autoDesignWidth": false "metaData": {
"customizeData": [
{
"name": "originWidgetName",
"value": "com.weather.testWidget"
} }
} ]
}
}
],
"js": [
{
"pages": [
"pages/index/index"
], ],
"reqPermissions": [ "name": "default",
{ "window": {
"name": "ohos.permission.DISTRIBUTED_DATASYNC", "designWidth": 720,
"reason": "use ohos.permission.DISTRIBUTED_DATASYNC" "autoDesignWidth": false
}, }
{ }
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", ],
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" "reqPermissions":[
} {
] "name":"ohos.permission.DISTRIBUTED_DATASYNC",
} "reason":"use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.bmsaccesstoken2", "bundleName": "com.example.bmsaccesstoken2",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
},
"apiVersion": {
"compatible": 5,
"target": 5,
"releaseType": "Beta1"
}
}, },
"deviceConfig": {}, "apiVersion": {
"module": { "compatible": 5,
"package": "com.example.bmsaccesstoken2", "target": 5,
"name": ".MyApplication1", "releaseType": "Beta1"
"deviceType": [ }
"default", },
"tablet", "deviceConfig": {},
"2in1" "module": {
], "package": "com.example.bmsaccesstoken2",
"distro": { "name": ".MyApplication1",
"deliveryWithInstall": true, "deviceType": [
"moduleName": "entry", "default",
"moduleType": "entry" "tablet"
}, ],
"abilities": [ "distro": {
{ "deliveryWithInstall": true,
"skills": [ "moduleName": "entry",
{ "moduleType": "entry"
"entities": [ },
"entity.system.home" "abilities": [
], {
"actions": [ "skills": [
"action.system.home" {
] "entities": [
} "entity.system.home"
], ],
"name": ".MainAbility", "actions": [
"icon": "$media:icon", "action.system.home"
"description": "$string:mainability_description", ]
"label": "$string:app_name", }
"type": "page",
"isVisible": "true",
"launchType": "standard",
"language": "C++",
"metaData": {
"customizeData": [
{
"name": "originWidgetName",
"value": "com.weather.testWidget"
}
]
}
}
], ],
"js": [ "name": ".MainAbility",
{ "icon": "$media:icon",
"pages": [ "description": "$string:mainability_description",
"pages/index/index" "label": "$string:app_name",
], "type": "page",
"name": "default", "isVisible": "true",
"window": { "launchType": "standard",
"designWidth": 720, "language": "C++",
"autoDesignWidth": false "metaData": {
"customizeData": [
{
"name": "originWidgetName",
"value": "com.weather.testWidget"
} }
} ]
}
}
],
"js": [
{
"pages": [
"pages/index/index"
], ],
"reqPermissions": [ "name": "default",
{ "window": {
"name": "ohos.permission.DISTRIBUTED_DATASYNC", "designWidth": 720,
"reason": "use ohos.permission.DISTRIBUTED_DATASYNC" "autoDesignWidth": false
}, }
{ }
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", ],
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" "reqPermissions":[
} {
] "name":"ohos.permission.DISTRIBUTED_DATASYNC",
} "reason":"use ohos.permission.DISTRIBUTED_DATASYNC"
},
{
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.bmsaccesstoken1", "bundleName": "com.example.bmsaccesstoken1",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 5, "compatible": 5,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.bmsaccesstoken1", "package": "com.example.bmsaccesstoken1",
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".MainAbility",
"name": ".MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "isVisible": "true",
"isVisible": "true", "launchType": "standard",
"launchType": "standard", "language": "C++",
"language": "C++", "metaData": {
"metaData": { "customizeData": [
"customizeData": [ {
{ "name": "originWidgetName",
"name": "originWidgetName", "value": "com.weather.testWidget"
"value": "com.weather.testWidget" }
} ]
] }
} }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "reqPermissions":[
"reqPermissions": [ {
{ "name":"ohos.permission.DISTRIBUTED_DATASYNC",
"name": "ohos.permission.DISTRIBUTED_DATASYNC", "reason":"use ohos.permission.DISTRIBUTED_DATASYNC"
"reason": "use ohos.permission.DISTRIBUTED_DATASYNC" },
}, {
{ "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.bmsaccesstoken1", "bundleName": "com.example.bmsaccesstoken1",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 5, "compatible": 5,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.bmsaccesstoken2", "package": "com.example.bmsaccesstoken2",
"name": ".MyApplication2", "name": ".MyApplication2",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "feature",
"moduleName": "feature", "moduleType": "feature"
"moduleType": "feature" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".MainAbility",
"name": ".MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "isVisible": "true",
"isVisible": "true", "launchType": "standard",
"launchType": "standard", "language": "C++",
"language": "C++", "metaData": {
"metaData": { "customizeData": [
"customizeData": [ {
{ "name": "originWidgetName",
"name": "originWidgetName", "value": "com.weather.testWidget"
"value": "com.weather.testWidget" }
} ]
] }
} }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "reqPermissions":[
"reqPermissions": [ {
{ "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" },
}, {
{ "name": "ohos.permission.LOCATION_IN_BACKGROUND",
"name": "ohos.permission.LOCATION_IN_BACKGROUND", "reason": "use ohos.permission.LOCATION_IN_BACKGROUND"
"reason": "use ohos.permission.LOCATION_IN_BACKGROUND" },
}, {
{ "name": "ohos.permission.USE_BLUETOOTH",
"name": "ohos.permission.USE_BLUETOOTH", "reason": "use ohos.permission.USE_BLUETOOTH"
"reason": "use ohos.permission.USE_BLUETOOTH" },
}, {
{ "name": "ohos.permission.VIBRATE",
"name": "ohos.permission.VIBRATE", "reason": "use ohos.permission.VIBRATE"
"reason": "use ohos.permission.VIBRATE" }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.bmsaccesstoken2", "bundleName": "com.example.bmsaccesstoken2",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 5, "compatible": 5,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.bmsaccesstoken2", "package": "com.example.bmsaccesstoken2",
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".MainAbility",
"name": ".MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "isVisible": "true",
"isVisible": "true", "launchType": "standard",
"launchType": "standard", "language": "C++",
"language": "C++", "metaData": {
"metaData": { "customizeData": [
"customizeData": [ {
{ "name": "originWidgetName",
"name": "originWidgetName", "value": "com.weather.testWidget"
"value": "com.weather.testWidget" }
} ]
] }
} }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ],
], "reqPermissions":[
"reqPermissions": [ {
{ "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" },
}, {
{ "name": "ohos.permission.LOCATION_IN_BACKGROUND",
"name": "ohos.permission.LOCATION_IN_BACKGROUND", "reason": "use ohos.permission.LOCATION_IN_BACKGROUND"
"reason": "use ohos.permission.LOCATION_IN_BACKGROUND" },
}, {
{ "name": "ohos.permission.USE_BLUETOOTH",
"name": "ohos.permission.USE_BLUETOOTH", "reason": "use ohos.permission.USE_BLUETOOTH"
"reason": "use ohos.permission.USE_BLUETOOTH" },
}, {
{ "name": "ohos.permission.VIBRATE",
"name": "ohos.permission.VIBRATE", "reason": "use ohos.permission.VIBRATE"
"reason": "use ohos.permission.VIBRATE" }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"releaseType": "Release", "releaseType": "Release",
"target": 5 "target": 5
}, },
"vendor": "example", "vendor": "example",
"bundleName": "com.example.l3jsdemo", "bundleName": "com.example.l3jsdemo",
"version": { "version": {
"code": 2000000, "code": 2000000,
"name": "2.0.0" "name": "2.0.0"
} }
}, },
"deviceConfig": { "deviceConfig": {
"default": { "default": {
"debug": false "debug": false
} }
}, },
"module": { "module": {
"abilities": [ "abilities": [
{ {
"iconId": 16777218, "iconId": 16777218,
"skills": [ "skills": [
{ {
"entities": [ "entities": [
"entity.system.home" "entity.system.home"
], ],
"actions": [ "actions": [
"action.system.home" "action.system.home"
] ]
} }
], ],
"descriptionId": 16777217, "descriptionId": 16777217,
"labelId": 16777216, "labelId": 16777216,
"icon": "$media:icon", "icon": "$media:icon",
"name": "com.example.l3jsdemo.MainAbility", "name": "com.example.l3jsdemo.MainAbility",
"description": "$string:mainability_description", "description": "$string:mainability_description",
"label": "$string:app_name", "label": "$string:app_name",
"type": "page", "type": "page",
"homeAbility": true, "homeAbility": true,
"launchType": "standard", "launchType": "standard",
"metaData": { "metaData": {
"customizeData": [ "customizeData": [
{ {
"name": "Data3", "name": "Data3",
"value": "float", "value": "float",
"extra": "$string:mainability_description" "extra": "$string:mainability_description"
} }
] ]
} }
} }
], ],
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "mainAbility": "com.example.l3jsdemo.MainAbility",
"mainAbility": "com.example.l3jsdemo.MainAbility", "distro": {
"distro": { "moduleType": "entry",
"moduleType": "entry", "installationFree": false,
"installationFree": false, "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry"
"moduleName": "entry" },
}, "package": "com.example.l3jsdemo",
"package": "com.example.l3jsdemo", "name": ".MyApplication",
"name": ".MyApplication", "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": true
"autoDesignWidth": true }
} }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.third5", "bundleName": "com.example.third5",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.third5", "package": "com.example.third5",
"name": ".BmsThirdBundle5", "name": ".BmsThirdBundle5",
"mainAbility": "com.example.third5.AMainAbility", "mainAbility": "com.example.third5.AMainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": "com.example.third5.AMainAbility",
"name": "com.example.third5.AMainAbility", "srcLanguage": "js",
"srcLanguage": "js", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "visible": true,
"visible": true, "form": {
"form": { "formEntity": [
"formEntity": [ "homeScreen",
"homeScreen", "searchbox"
"searchbox" ],
], "defaultHeight": 100,
"defaultHeight": 100, "defaultWidth": 200,
"defaultWidth": 200, "minHeight": 50,
"minHeight": 50, "minWidth": 100
"minWidth": 100 },
}, "forms": [
"forms": [ {
{ "colorMode": "light",
"colorMode": "light", "description": " JS5A Form",
"description": " JS5A Form", "supportDimensions": [
"supportDimensions": [ "1*2",
"1*2", "2*2",
"2*2", "2*4"
"2*4" ],
], "type": "JS",
"type": "JS", "jsComponentName": "JS_name5A",
"jsComponentName": "JS_name5A", "metaData": {
"metaData": { "customizeData": [
"customizeData": [ {
{ "name": "originWidgetName5A",
"name": "originWidgetName5A", "value": "com.openharmony.weather.testWidget5A"
"value": "com.openharmony.weather.testWidget5A" }
} ]
] },
}, "isDefault": true,
"isDefault": true, "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"deepLink": "ability://com.example.myapplication.fa/.MainAbility", "defaultDimension": "1*2",
"defaultDimension": "1*2", "name": "Form_JS5A",
"name": "Form_JS5A", "scheduledUpateTime": "21:55",
"scheduledUpateTime": "21:55", "updateEnabled": true,
"updateEnabled": true, "updateDuration": 1
"updateDuration": 1 }
} ],
], "launchType": "standard",
"launchType": "standard", "metaData": {
"metaData": { "parameters": [
"parameters": [ {
{ "name": "Data5A",
"name": "Data5A", "type": "float",
"type": "float", "description": "$string:mainability_description"
"description": "$string:mainability_description" }
} ],
], "results": [
"results": [ {
{ "name": "Data5A",
"name": "Data5A", "type": "float",
"type": "float", "description": "$string:mainability_description"
"description": "$string:mainability_description" }
} ],
], "customizeData": [
"customizeData": [ {
{ "name": "Data5A",
"name": "Data5A", "value": "float",
"value": "float", "extra": "$string:mainability_description"
"extra": "$string:mainability_description" }
} ]
] }
} },
}, {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".BMainAbility",
"name": ".BMainAbility", "srcLanguage": "js",
"srcLanguage": "js", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "visible": true,
"visible": true, "forms": [
"forms": [ {
{ "colorMode": "light",
"colorMode": "light", "description": " JS5B Form",
"description": " JS5B Form", "supportDimensions": [
"supportDimensions": [ "1*2",
"1*2", "4*4"
"4*4" ],
], "type": "JS",
"type": "JS", "jsComponentName": "JS_name5B",
"jsComponentName": "JS_name5B", "metaData": {
"metaData": { "customizeData": [
"customizeData": [ {
{ "name": "originWidgetName5B",
"name": "originWidgetName5B", "value": "com.openharmony.weather.testWidget5B"
"value": "com.openharmony.weather.testWidget5B" }
} ]
] },
}, "isDefault": true,
"isDefault": true, "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"deepLink": "ability://com.example.myapplication.fa/.MainAbility", "defaultDimension": "1*2",
"defaultDimension": "1*2", "name": "Form_JS5B",
"name": "Form_JS5B", "scheduledUpateTime": "21:55",
"scheduledUpateTime": "21:55", "updateEnabled": true,
"updateEnabled": true, "updateDuration": 1
"updateDuration": 1 }
} ],
], "launchType": "standard",
"launchType": "standard", "metaData": {
"metaData": { "parameters": [
"parameters": [ {
{ "name": "Data5B",
"name": "Data5B", "type": "float",
"type": "float", "description": "$string:mainability_description"
"description": "$string:mainability_description" }
} ],
], "results": [
"results": [ {
{ "name": "Data5B",
"name": "Data5B", "type": "float",
"type": "float", "description": "$string:mainability_description"
"description": "$string:mainability_description" }
} ],
], "customizeData": [
"customizeData": [ {
{ "name": "Data5B",
"name": "Data5B", "value": "float",
"value": "float", "extra": "$string:mainability_description"
"extra": "$string:mainability_description" }
} ]
] }
} },
}, {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "backgroundModes": [
"backgroundModes": [ "dataTransfer",
"dataTransfer", "audioPlayback",
"audioPlayback", "audioRecording",
"audioRecording", "location",
"location", "bluetoothInteraction",
"bluetoothInteraction", "multiDeviceConnection",
"multiDeviceConnection", "wifiInteraction",
"wifiInteraction", "voip",
"voip", "taskKeeping"
"taskKeeping" ],
], "name": "com.example.third5.MainAbilityA",
"name": "com.example.third5.MainAbilityA", "srcLanguage": "js",
"srcLanguage": "js", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "service",
"type": "service", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" },
}, {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "backgroundModes": [
"backgroundModes": [ "dataTransfer",
"dataTransfer", "voip"
"voip" ],
], "name": "com.example.third5.MainAbilityB",
"name": "com.example.third5.MainAbilityB", "srcLanguage": "js",
"srcLanguage": "js", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "service",
"type": "service", "visible": true,
"visible": true, "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} },
}, {
{ "pages": [
"pages": [ "pagesB/index/index"
"pagesB/index/index" ],
], "name": "default2",
"name": "default2", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.third1", "bundleName": "com.example.third1",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
},
"apiVersion": {
"compatible": 4,
"target": 5,
"releaseType": "Beta1"
}
}, },
"deviceConfig": { "apiVersion": {
"default": {} "compatible": 4,
"target": 5,
"releaseType": "Beta1"
}
},
"deviceConfig": {
"default":{}
},
"module": {
"package": "com.example.third1.entry",
"name": "com.example.third1.BmsThirdBundle1",
"colorMode": "light",
"deviceType": [
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleType": "entry"
}, },
"module": { "abilities": [
"package": "com.example.third1.entry", {
"name": "com.example.third1.BmsThirdBundle1", "skills": [
"colorMode": "light", {
"deviceType": [ "entities": [
"default", "entity.system.home"
"tablet", ],
"2in1" "actions": [
"action.system.home"
]
}
], ],
"distro": { "name": "com.example.third1.MainAbility",
"deliveryWithInstall": true, "icon": "$media:icon",
"moduleName": "entry", "form": {
"moduleType": "entry" "formEntity": [
"homeScreen",
"searchbox"
],
"defaultHeight": 100,
"defaultWidth": 200,
"minHeight": 50,
"minWidth": 100
}, },
"abilities": [ "description": "$string:mainability_description",
{ "label": "$string:app_name",
"skills": [ "type": "page",
{ "forms": [
"entities": [ {
"entity.system.home" "colorMode": "light",
], "description": " JS1 Form",
"actions": [ "supportDimensions": [
"action.system.home" "1*2",
] "2*2",
} "2*4"
], ],
"name": "com.example.third1.MainAbility", "type": "JS",
"icon": "$media:icon", "jsComponentName": "JS_name1",
"form": { "metaData": {
"formEntity": [ "customizeData": [
"homeScreen", {
"searchbox" "name": "originWidgetName1",
], "value": "com.openharmony.weather.testWidget1"
"defaultHeight": 100,
"defaultWidth": 200,
"minHeight": 50,
"minWidth": 100
},
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "page",
"forms": [
{
"colorMode": "light",
"description": " JS1 Form",
"supportDimensions": [
"1*2",
"2*2",
"2*4"
],
"type": "JS",
"jsComponentName": "JS_name1",
"metaData": {
"customizeData": [
{
"name": "originWidgetName1",
"value": "com.openharmony.weather.testWidget1"
}
]
},
"isDefault": true,
"deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"defaultDimension": "1*2",
"name": "Form_JS1",
"scheduledUpateTime": "21:55",
"updateEnabled": true,
"updateDuration": 1
}
],
"launchType": "standard",
"visible": true,
"metaData": {
"customizeData": [
{
"name": "Data1",
"value": "float",
"extra": "$string:mainability_description"
}
]
} }
]
}, },
{ "isDefault": true,
"skills": [ "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
{ "defaultDimension": "1*2",
"entities": [ "name": "Form_JS1",
"entity.system.home" "scheduledUpateTime": "21:55",
], "updateEnabled": true,
"actions": [ "updateDuration": 1
"action.system.home" }
]
}
],
"backgroundModes": [
"dataTransfer",
"audioPlayback",
"audioRecording",
"location",
"bluetoothInteraction",
"multiDeviceConnection",
"wifiInteraction",
"voip",
"taskKeeping"
],
"name": "com.example.third1.MainAbilityA",
"icon": "$media:icon",
"form": {
"formEntity": [
"homeScreen",
"searchbox"
],
"defaultHeight": 100,
"defaultWidth": 200,
"minHeight": 50,
"minWidth": 100
},
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "service",
"launchType": "standard",
"visible": true
}
], ],
"shortcuts": [ "launchType": "standard",
"visible": true,
"metaData": {
"customizeData": [
{ {
"icon": "$media:icon", "name": "Data1",
"shortcutId": "id.third1", "value": "float",
"label": "$string:app_name", "extra": "$string:mainability_description"
"intents": [
{
"targetClass": "com.example.third1.MainAbility",
"targetBundle": "com.example.third1"
}
]
} }
]
}
},
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
], ],
"js": [ "backgroundModes": [
{ "dataTransfer",
"pages": [ "audioPlayback",
"pages/index/index" "audioRecording",
], "location",
"name": "default", "bluetoothInteraction",
"window": { "multiDeviceConnection",
"designWidth": 720, "wifiInteraction",
"autoDesignWidth": false "voip",
} "taskKeeping"
}
], ],
"defPermissions": [ "name": "com.example.third1.MainAbilityA",
{ "icon": "$media:icon",
"name": "com.permission.PERMISSION_THIRD1", "form": {
"grantMode": "user_grant", "formEntity": [
"availableScope": [ "homeScreen",
"signature" "searchbox"
] ],
}, "defaultHeight": 100,
{ "defaultWidth": 200,
"name": "com.permission.PERMISSION_B", "minHeight": 50,
"grantMode": "system_grant", "minWidth": 100
"availableScope": [ },
"signature" "description": "$string:mainability_description",
] "label": "$string:app_name",
} "type": "service",
"launchType": "standard",
"visible": true
}
],
"shortcuts": [
{
"icon": "$media:icon",
"shortcutId": "id.third1",
"label": "$string:app_name",
"intents": [
{
"targetClass": "com.example.third1.MainAbility",
"targetBundle": "com.example.third1"
}
]
}
],
"js": [
{
"pages": [
"pages/index/index"
], ],
"description": "$string:entry_description" "name": "default",
} "window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
],
"defPermissions": [
{
"name": "com.permission.PERMISSION_THIRD1",
"grantMode": "user_grant",
"availableScope": ["signature"]
},
{
"name": "com.permission.PERMISSION_B",
"grantMode": "system_grant",
"availableScope": ["signature"]
}
],
"description":"$string:entry_description"
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.third1", "bundleName": "com.example.third1",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 2, "code": 2,
"name": "2.0" "name": "2.0"
},
"apiVersion": {
"compatible": 4,
"target": 5,
"releaseType": "Beta1"
}
}, },
"deviceConfig": { "apiVersion": {
"default": {} "compatible": 4,
"target": 5,
"releaseType": "Beta1"
}
},
"deviceConfig": {
"default":{}
},
"module": {
"package": "com.example.third1.entry",
"name": "com.example.third1.BmsThirdBundle1",
"mainAbility": "com.example.third1.MainAbility",
"colorMode": "dark",
"deviceType": [
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleType": "entry"
}, },
"module": { "abilities": [
"package": "com.example.third1.entry", {
"name": "com.example.third1.BmsThirdBundle1", "skills": [
"mainAbility": "com.example.third1.MainAbility", {
"colorMode": "dark", "entities": [
"deviceType": [ "entity.system.home"
"default", ],
"tablet", "actions": [
"2in1" "action.system.home"
]
}
], ],
"distro": { "name": "com.example.third1.MainAbility",
"deliveryWithInstall": true, "icon": "$media:icon",
"moduleName": "entry", "description": "$string:mainability_description",
"moduleType": "entry" "label": "$string:app_name",
"type": "page",
"form": {
"formEntity": [
"homeScreen",
"searchbox"
],
"defaultHeight": 100,
"defaultWidth": 200,
"minHeight": 50,
"minWidth": 100
}, },
"abilities": [ "forms": [
{ {
"skills": [ "colorMode": "light",
{ "description": " JSA1 Form",
"entities": [ "supportDimensions": [
"entity.system.home" "2*2",
], "2*4"
"actions": [ ],
"action.system.home" "type": "JS",
] "jsComponentName": "JS_nameA1",
} "metaData": {
], "customizeData": [
"name": "com.example.third1.MainAbility", {
"icon": "$media:icon", "name": "originWidgetNameA1",
"description": "$string:mainability_description", "value": "com.openharmony.weather.testWidgetA1"
"label": "$string:app_name",
"type": "page",
"form": {
"formEntity": [
"homeScreen",
"searchbox"
],
"defaultHeight": 100,
"defaultWidth": 200,
"minHeight": 50,
"minWidth": 100
},
"forms": [
{
"colorMode": "light",
"description": " JSA1 Form",
"supportDimensions": [
"2*2",
"2*4"
],
"type": "JS",
"jsComponentName": "JS_nameA1",
"metaData": {
"customizeData": [
{
"name": "originWidgetNameA1",
"value": "com.openharmony.weather.testWidgetA1"
}
]
},
"isDefault": true,
"deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"defaultDimension": "1*2",
"name": "Form_JSA1",
"scheduledUpateTime": "21:55",
"updateEnabled": true,
"updateDuration": 1
}
],
"launchType": "standard",
"visible": true,
"metaData": {
"parameters": [
{
"name": "DataA1",
"type": "float",
"description": "$string:mainability_description"
}
],
"results": [
{
"name": "DataA1",
"type": "float",
"description": "$string:mainability_description"
}
],
"customizeData": [
{
"name": "DataA1",
"value": "float",
"extra": "$string:mainability_description"
}
]
} }
]
}, },
"isDefault": true,
"deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"defaultDimension": "1*2",
"name": "Form_JSA1",
"scheduledUpateTime": "21:55",
"updateEnabled": true,
"updateDuration": 1
}
],
"launchType": "standard",
"visible": true,
"metaData": {
"parameters": [
{ {
"skills": [ "name": "DataA1",
{ "type": "float",
"entities": [ "description": "$string:mainability_description"
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"backgroundModes": [
"audioRecording",
"location",
"bluetoothInteraction",
"multiDeviceConnection",
"wifiInteraction",
"voip",
"taskKeeping"
],
"name": "com.example.third1.MainAbilityA",
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "service",
"launchType": "standard",
"visible": true
} }
], ],
"shortcuts": [ "results": [
{ {
"icon": "$media:icon", "name": "DataA1",
"shortcutId": "id.thirdA1", "type": "float",
"label": "$string:shortcut", "description": "$string:mainability_description"
"intents": [
{
"targetClass": "com.example.third1.MainAbility",
"targetBundle": "com.example.third1"
}
]
} }
], ],
"js": [ "customizeData": [
{ {
"pages": [ "name": "DataA1",
"pages/index/index" "value": "float",
], "extra": "$string:mainability_description"
"name": "default",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
} }
]
}
},
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"backgroundModes": [
"audioRecording",
"location",
"bluetoothInteraction",
"multiDeviceConnection",
"wifiInteraction",
"voip",
"taskKeeping"
],
"name": "com.example.third1.MainAbilityA",
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "service",
"launchType": "standard",
"visible": true
}
],
"shortcuts": [
{
"icon": "$media:icon",
"shortcutId": "id.thirdA1",
"label": "$string:shortcut",
"intents": [
{
"targetClass": "com.example.third1.MainAbility",
"targetBundle": "com.example.third1"
}
] ]
} }
],
"js": [
{
"pages": [
"pages/index/index"
],
"name": "default",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.third4", "bundleName": "com.example.third4",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.third4", "package": "com.example.third4",
"name": ".BmsThirdBundle4", "name": ".BmsThirdBundle4",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": "com.example.third4.MainAbility",
"name": "com.example.third4.MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "form": {
"form": { "formEntity": [
"formEntity": [ "homeScreen",
"homeScreen", "searchbox"],
"searchbox" "defaultHeight": 100,
], "defaultWidth": 200,
"defaultHeight": 100, "minHeight": 50,
"defaultWidth": 200, "minWidth": 100
"minHeight": 50, },
"minWidth": 100 "forms": [
}, {
"forms": [ "colorMode": "light",
{ "description": " JS4A Form",
"colorMode": "light", "supportDimensions": [ "2*4", "4*4" ],
"description": " JS4A Form", "type": "JS",
"supportDimensions": [ "jsComponentName": "JS_name4A",
"2*4", "metaData": {
"4*4" "customizeData": [
], {
"type": "JS", "name": "originWidgetName4A",
"jsComponentName": "JS_name4A", "value": "com.openharmony.weather.testWidget4A"
"metaData": { }
"customizeData": [ ]
{ },
"name": "originWidgetName4A", "isDefault": true,
"value": "com.openharmony.weather.testWidget4A" "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
} "defaultDimension": "1*2",
] "name": "Form_JS4A",
}, "scheduledUpateTime": "21:55",
"isDefault": true, "updateEnabled": true,
"deepLink": "ability://com.example.myapplication.fa/.MainAbility", "updateDuration": 1
"defaultDimension": "1*2", },
"name": "Form_JS4A", {
"scheduledUpateTime": "21:55", "colorMode": "light",
"updateEnabled": true, "description": " JS4B Form",
"updateDuration": 1 "supportDimensions": [ "1*2", "2*2" , "2*4"],
}, "type": "JS",
{ "jsComponentName": "JS_name4B",
"colorMode": "light", "metaData": {
"description": " JS4B Form", "customizeData": [
"supportDimensions": [ {
"1*2", "name": "originWidgetName4B",
"2*2", "value": "com.openharmony.weather.testWidget4B"
"2*4" }
], ]
"type": "JS", },
"jsComponentName": "JS_name4B", "isDefault": true,
"metaData": { "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
"customizeData": [ "defaultDimension": "1*2",
{ "name": "Form_JS4B",
"name": "originWidgetName4B", "scheduledUpateTime": "21:55",
"value": "com.openharmony.weather.testWidget4B" "updateEnabled": true,
} "updateDuration": 1
] }
}, ],
"isDefault": true, "launchType": "standard"
"deepLink": "ability://com.example.myapplication.fa/.MainAbility", }
"defaultDimension": "1*2", ],
"name": "Form_JS4B", "shortcuts": [
"scheduledUpateTime": "21:55", {
"updateEnabled": true, "icon": "$media:icon",
"updateDuration": 1 "shortcutId": "id.third4A",
} "label": "$string:app_name",
], "intents": [
"launchType": "standard" {
} "targetClass":"com.example.third4A.MainAbility",
], "targetBundle":"com.example.third4A"
"shortcuts": [ }
{ ]
"icon": "$media:icon", },
"shortcutId": "id.third4A", {
"label": "$string:app_name", "icon": "$media:icon",
"intents": [ "shortcutId": "id.third4B",
{ "label": "$string:app_name",
"targetClass": "com.example.third4A.MainAbility", "intents": [
"targetBundle": "com.example.third4A" {
} "targetClass": "com.example.third4B.MainAbility",
] "targetBundle": "com.example.third4B"
}, }
{ ]
"icon": "$media:icon", }
"shortcutId": "id.third4B", ],
"label": "$string:app_name", "js": [
"intents": [ {
{ "pages": [
"targetClass": "com.example.third4B.MainAbility", "pages/index/index"
"targetBundle": "com.example.third4B" ],
} "name": "default",
] "window": {
} "designWidth": 720,
], "autoDesignWidth": false
"js": [ }
{ }
"pages": [ ]
"pages/index/index" }
],
"name": "default",
"window": {
"designWidth": 720,
"autoDesignWidth": false
}
}
]
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.c", "bundleName": "com.example.c",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.c", "package": "com.example.c",
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "c++",
"srcLanguage": "c++", "srcPath": "default/c++/",
"srcPath": "default/c++/", "visible": true,
"visible": true, "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.js", "bundleName": "com.example.js",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.example.js", "package": "com.example.js",
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.system.home"
"entity.system.home" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": ".MainAbility",
"name": ".MainAbility", "srcLanguage": "js",
"srcLanguage": "js", "srcPath": "default",
"srcPath": "default", "visible": true,
"visible": true, "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ]
] }
}
} }
\ No newline at end of file
{ {
"app": { "app": {
"bundleName": "com.example.system2", "bundleName": "com.example.system2",
"vendor": "example", "vendor": "example",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
}, },
"apiVersion": { "apiVersion": {
"compatible": 4, "compatible": 4,
"target": 5, "target": 5,
"releaseType": "Beta1" "releaseType": "Beta1"
} }
}, },
"deviceConfig": { "deviceConfig": {
"default": {} "default":{}
}, },
"module": { "module": {
"package": "com.example.system2", "package": "com.example.system2",
"name": ".BmsSystemBundle1", "name": ".BmsSystemBundle1",
"mainAbility": "com.example.system2.MainAbility", "mainAbility": "com.example.system2.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet", "tablet"
"2in1" ],
], "distro": {
"distro": { "deliveryWithInstall": true,
"deliveryWithInstall": true, "moduleName": "entry",
"moduleName": "entry", "moduleType": "entry"
"moduleType": "entry" },
}, "abilities": [
"abilities": [ {
{ "skills": [
"skills": [ {
{ "entities": [
"entities": [ "entity.app.music",
"entity.app.music", "entity.app.email",
"entity.app.email", "entity.app.contacts",
"entity.app.contacts", "entity.app.maps",
"entity.app.maps", "entity.app.browser",
"entity.app.browser", "entity.app.calendar",
"entity.app.calendar", "entity.app.messaging",
"entity.app.messaging", "entity.app.files",
"entity.app.files", "entity.app.gallery"
"entity.app.gallery" ],
], "actions": [
"actions": [ "action.system.home"
"action.system.home" ]
] }
} ],
], "name": "com.example.system2.MainAbility",
"name": "com.example.system2.MainAbility", "icon": "$media:icon",
"icon": "$media:icon", "description": "$string:mainability_description",
"description": "$string:mainability_description", "label": "$string:app_name",
"label": "$string:app_name", "type": "page",
"type": "page", "launchType": "standard"
"launchType": "standard" }
} ],
], "js": [
"js": [ {
{ "pages": [
"pages": [ "pages/index/index"
"pages/index/index" ],
], "name": "default",
"name": "default", "window": {
"window": { "designWidth": 720,
"designWidth": 720, "autoDesignWidth": false
"autoDesignWidth": false }
} }
} ]
] }
}
} }
\ No newline at end of file
...@@ -9,12 +9,11 @@ ...@@ -9,12 +9,11 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet", "tablet"
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
"uiSyntax": "ets", "uiSyntax": "ets",
"pages": "$profile:main_pages" "pages": "$profile:main_pages"
} }
} }
\ No newline at end of file
...@@ -18,10 +18,9 @@ ...@@ -18,10 +18,9 @@
"srcPath": "", "srcPath": "",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone", "phone"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -93,5 +92,6 @@ ...@@ -93,5 +92,6 @@
"name": "OpenHarmonyTestRunner", "name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner" "srcPath": "TestRunner"
} }
} }
} }
\ No newline at end of file
...@@ -18,10 +18,9 @@ ...@@ -18,10 +18,9 @@
"srcPath": "", "srcPath": "",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone", "phone"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -17,10 +17,9 @@ ...@@ -17,10 +17,9 @@
"name": ".entry", "name": ".entry",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone", "phone"
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -103,4 +102,4 @@ ...@@ -103,4 +102,4 @@
}, },
"srcPath": "" "srcPath": ""
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册