1{ 2 "app": { 3 "bundleName": "com.samples.famodelabilitydevelop", 4 "vendor": "samples", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 } 9 }, 10 "deviceConfig": {}, 11 "module": { 12 "package": "com.samples.famodelabilitydevelop", 13 "name": ".entry", 14 "mainAbility": ".MainAbility", 15 "deviceType": [ 16 "default", 17 "tablet" 18 ], 19 "distro": { 20 "deliveryWithInstall": true, 21 "moduleName": "entry", 22 "moduleType": "entry", 23 "installationFree": false 24 }, 25 "abilities": [ 26 { 27 "skills": [ 28 { 29 "entities": [ 30 "entity.system.home" 31 ], 32 "actions": [ 33 "action.system.home" 34 ] 35 } 36 ], 37 "orientation": "unspecified", 38 "formsEnabled": false, 39 "name": ".MainAbility", 40 "srcLanguage": "ets", 41 "srcPath": "MainAbility", 42 "icon": "$media:icon", 43 "description": "$string:MainAbility_desc", 44 "label": "$string:MainAbility_label", 45 "type": "page", 46 "visible": true, 47 "launchType": "singleton" 48 }, 49 { 50 "orientation": "unspecified", 51 "formsEnabled": false, 52 "name": ".PageAbilitySingleton", 53 "srcLanguage": "ets", 54 "srcPath": "PageAbilitySingleton", 55 "icon": "$media:icon", 56 "description": "$string:PageAbilitySingleton_desc", 57 "label": "$string:PageAbilitySingleton_label", 58 "type": "page", 59 "launchType": "singleton" 60 }, 61 { 62 "orientation": "unspecified", 63 "formsEnabled": false, 64 "name": ".PageAbilityStandard", 65 "srcLanguage": "ets", 66 "srcPath": "PageAbilityStandard", 67 "icon": "$media:icon", 68 "description": "$string:PageAbilityStandard_desc", 69 "label": "$string:PageAbilityStandard_label", 70 "type": "page", 71 "launchType": "standard" 72 }, 73 { 74 "name": ".ServiceAbility", 75 "srcLanguage": "ets", 76 "srcPath": "ServiceAbility", 77 "icon": "$media:icon", 78 "description": "$string:ServiceAbility_desc", 79 "type": "service", 80 "visible": true 81 }, 82 { 83 "name": ".DataAbility", 84 "srcLanguage": "ets", 85 "srcPath": "DataAbility", 86 "icon": "$media:icon", 87 "description": "$string:DataAbility_desc", 88 "type": "data", 89 "visible": true, 90 "uri": "dataability://com.samples.famodelabilitydevelop.DataAbility", 91 "readPermission": "ohos.permission.READ_CONTACTS", 92 "writePermission": "ohos.permission.WRITE_CONTACTS" 93 }, 94 { 95 "name": ".FormAbility", 96 "srcPath": "FormAbility", 97 "description": "$string:FormAbility_desc", 98 "icon": "$media:icon", 99 "label": "$string:FormAbility_label", 100 "type": "service", 101 "formsEnabled": true, 102 "srcLanguage": "ets", 103 "forms": [ 104 { 105 "jsComponentName": "widget", 106 "isDefault": true, 107 "scheduledUpdateTime": "10:30", 108 "defaultDimension": "2*2", 109 "name": "widget", 110 "description": "This is a service widget.", 111 "colorMode": "auto", 112 "type": "JS", 113 "formVisibleNotify": true, 114 "supportDimensions": [ 115 "2*2" 116 ], 117 "updateEnabled": true, 118 "updateDuration": 1 119 } 120 ] 121 }, 122 { 123 "name": ".ServiceAbilityStartUIAbility", 124 "srcLanguage": "ets", 125 "srcPath": "ServiceAbilityStartUIAbility", 126 "icon": "$media:icon", 127 "description": "$string:ServiceAbilityStartUIAbility_desc", 128 "type": "service" 129 } 130 ], 131 "js": [ 132 { 133 "mode": { 134 "syntax": "ets", 135 "type": "pageAbility" 136 }, 137 "pages": [ 138 "pages/index", 139 "pages/pageDataAbility", 140 "pages/pagePageAbilityFirst", 141 "pages/pagePageAbilitySecond", 142 "pages/pageServiceAbility", 143 "pages/pageInterflowFaAndStage" 144 ], 145 "name": ".MainAbility", 146 "window": { 147 "designWidth": 720, 148 "autoDesignWidth": false 149 } 150 }, 151 { 152 "mode": { 153 "syntax": "ets", 154 "type": "pageAbility" 155 }, 156 "pages": [ 157 "pages/first", 158 "pages/second" 159 ], 160 "name": ".PageAbilitySingleton", 161 "window": { 162 "designWidth": 720, 163 "autoDesignWidth": false 164 } 165 }, 166 { 167 "mode": { 168 "syntax": "ets", 169 "type": "pageAbility" 170 }, 171 "pages": [ 172 "pages/default", 173 "pages/first", 174 "pages/second" 175 ], 176 "name": ".PageAbilityStandard", 177 "window": { 178 "designWidth": 720, 179 "autoDesignWidth": false 180 } 181 }, 182 { 183 "name": "widget", 184 "pages": [ 185 "pages/index/index" 186 ], 187 "window": { 188 "designWidth": 720, 189 "autoDesignWidth": true 190 }, 191 "type": "form" 192 } 193 ], 194 "reqPermissions": [ 195 { 196 "name": "ohos.permission.READ_CONTACTS" 197 }, 198 { 199 "name": "ohos.permission.WRITE_CONTACTS" 200 }, 201 { 202 "name": "ohos.permission.DISTRIBUTED_DATASYNC" 203 }, 204 { 205 "name": "ohos.permission.ACCESS_SERVICE_DM" 206 } 207 ], 208 "defPermissions": [ 209 { 210 "name": "com.samples.famodelabilitydevelop.DataAbilityShellProvider.PROVIDER" 211 } 212 ] 213 } 214}