{ "module": { "name": "app", "type": "entry", "description": "$string:module_desc", "mainElement": "AppAbility", "srcEntry": "./ets/AppAbilityStage.ets", "deviceTypes": [ "phone", "tablet", "2in1" ], "metadata": [ { "name": "client_id", "value": "123456789" } ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "abilities": [ { "name": "AppAbility", "srcEntry": "./ets/appability/AppAbility.ets", "description": "$string:AppAbility_desc", "icon": "$media:icon", "label": "$string:AppAbility_label", "startWindowIcon": "$media:startIcon", "startWindowBackground": "$color:start_window_background", "exported": true, "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ] } ], "requestPermissions": [ { "name": "ohos.permission.LOCATION", "reason": "$string:location_permission", "usedScene": { "when": "inuse" } }, { "name": "ohos.permission.APPROXIMATELY_LOCATION", "reason": "$string:approximately_location", "usedScene": { "when": "inuse" } } ] } }