• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "app": {
3        "bundleName": "com.example.continuoustaskserver",
4        "vendor": "example",
5        "version": {
6            "code": 1000000,
7            "name": "1.0.0"
8        },
9        "apiVersion": {
10            "compatible": 7,
11            "target": 7
12        }
13    },
14    "deviceConfig": {},
15    "module": {
16        "package": "com.example.continuoustaskserver",
17        "name": ".MyApplication",
18        "deviceType": [
19            "tablet",
20            "default",
21            "phone"
22        ],
23        "distro": {
24            "deliveryWithInstall": true,
25            "moduleName": "entry",
26            "moduleType": "entry",
27            "installationFree": false
28        },
29        "abilities": [
30            {
31                "skills": [
32                    {
33                        "entities": [
34                            "entity.system.home"
35                        ],
36                        "actions": [
37                            "action.system.home"
38                        ]
39                    }
40                ],
41                "name": "com.example.continuoustaskserver.MainAbility",
42                "icon": "$media:icon",
43                "description": "$string:mainability_description",
44                "label": "$string:app_name",
45                "type": "page",
46                "visible": true,
47                "launchType": "standard"
48            },
49            {
50                "backgroundModes": [
51                    "location"
52                ],
53                "visible": true,
54                "srcPath": "ServiceAbility",
55                "name": ".ServiceAbility",
56                "icon": "$media:icon",
57                "srcLanguage": "js",
58                "description": "$string:description_serviceability",
59                "type": "service"
60            }
61        ],
62        "js": [
63            {
64                "pages": [
65                    "pages/index/index"
66                ],
67                "name": "default",
68                "window": {
69                    "designWidth": 720,
70                    "autoDesignWidth": false
71                }
72            }
73        ],
74        "reqPermissions": [
75            {
76                "name": "ohos.permission.KEEP_BACKGROUND_RUNNING"
77            }
78        ]
79    }
80}