• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "app": {
3    "bundleName": "com.example.third4",
4    "vendor": "example",
5    "version": {
6      "code": 1,
7      "name": "1.0"
8    },
9    "apiVersion": {
10      "compatible": 4,
11      "target": 5,
12      "releaseType": "Beta1"
13    }
14  },
15  "deviceConfig": {},
16  "module": {
17    "package": "com.example.third4",
18    "name": ".BmsThirdBundle4",
19    "deviceType": [
20      "default",
21      "tablet"
22    ],
23    "distro": {
24      "deliveryWithInstall": true,
25      "moduleName": "entry",
26      "moduleType": "entry"
27    },
28    "abilities": [
29      {
30        "skills": [
31          {
32            "entities": [
33              "entity.system.home"
34            ],
35            "actions": [
36              "action.system.home"
37            ]
38          }
39        ],
40        "name": "com.example.third4.MainAbility",
41        "icon": "$media:icon",
42        "description": "$string:mainability_description",
43        "label": "$string:app_name",
44        "type": "page",
45        "form": {
46          "formEntity": [
47            "homeScreen",
48            "searchbox"],
49          "defaultHeight": 100,
50          "defaultWidth": 200,
51          "minHeight": 50,
52          "minWidth": 100
53        },
54        "forms": [
55          {
56            "colorMode": "light",
57            "description": " JS4A Form",
58            "supportDimensions": [ "2*4", "4*4" ],
59            "type": "JS",
60            "jsComponentName": "JS_name4A",
61            "metaData": {
62              "customizeData": [
63                {
64                  "name": "originWidgetName4A",
65                  "value": "com.openharmony.weather.testWidget4A"
66                }
67              ]
68            },
69            "isDefault": true,
70            "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
71            "defaultDimension": "1*2",
72            "name": "Form_JS4A",
73            "scheduledUpateTime": "21:55",
74            "updateEnabled": true,
75            "updateDuration": 1
76          },
77          {
78            "colorMode": "light",
79            "description": " JS4B Form",
80            "supportDimensions": [ "1*2", "2*2" , "2*4"],
81            "type": "JS",
82            "jsComponentName": "JS_name4B",
83            "metaData": {
84              "customizeData": [
85                {
86                  "name": "originWidgetName4B",
87                  "value": "com.openharmony.weather.testWidget4B"
88                }
89              ]
90            },
91            "isDefault": true,
92            "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
93            "defaultDimension": "1*2",
94            "name": "Form_JS4B",
95            "scheduledUpateTime": "21:55",
96            "updateEnabled": true,
97            "updateDuration": 1
98          }
99        ],
100        "launchType": "standard"
101      }
102    ],
103    "shortcuts": [
104      {
105        "icon": "$media:icon",
106        "shortcutId": "id.third4A",
107        "label": "$string:app_name",
108        "intents": [
109          {
110            "targetClass":"com.example.third4A.MainAbility",
111            "targetBundle":"com.example.third4A"
112          }
113        ]
114      },
115      {
116        "icon": "$media:icon",
117        "shortcutId": "id.third4B",
118        "label": "$string:app_name",
119        "intents": [
120          {
121            "targetClass": "com.example.third4B.MainAbility",
122            "targetBundle": "com.example.third4B"
123          }
124        ]
125      }
126    ],
127    "js": [
128      {
129        "pages": [
130          "pages/index/index"
131        ],
132        "name": "default",
133        "window": {
134          "designWidth": 720,
135          "autoDesignWidth": false
136        }
137      }
138    ]
139  }
140}