{ "app": { "bundleName": "ohos.acts.location.geolocation.function", "vendor": "acts", "version": { "code": 1000000, "name": "1.0" }, "apiVersion": { "compatible": 4, "target": 5, "releaseType": "Beta1" } }, "deviceConfig": {}, "module": { "package": "ohos.acts.location.geolocation.function", "name": ".MyApplication", "mainAbility": "ohos.acts.location.geolocation.function.MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, "moduleName": "entry", "moduleType": "entry" }, "abilities": [ { "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ], "visible": true, "name": "ohos.acts.location.geolocation.function.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "$string:app_name", "type": "page", "launchType": "standard" } ], "reqPermissions": [ { "name": "ohos.permission.LOCATION", "reason": "need use ohos.permission.LOCATION", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.ACCESS_LOCATION", "reason":"need use ohos.permission.ACCESS_LOCATION", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.LOCATION_IN_BACKGROUND", "reason":"need use ohos.permission.LOCATION_IN_BACKGROUND", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.MANAGE_SECURE_SETTINGS", "reason":"need use ohos.permission.MANAGE_SECURE_SETTINGS", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" }, { "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" }, { "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" }, { "name": "ohos.permission.GET_BUNDLE_INFO" } ], "js": [ { "pages": [ "pages/index/index" ], "name": "default", "window": { "designWidth": 720, "autoDesignWidth": false } } ] } }